blob: 90162d431caf78e2f79daa263a0034f2bfb943e5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{ lib
, buildPythonPackage
, fetchPypi
, findutils
, pytestCheckHook
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "extension-helpers";
version = "1.0.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "ca1bfac67c79cf4a7a0c09286ce2a24eec31bf17715818d0726318dd0e5050e6";
};
nativeBuildInputs = [
setuptools-scm
];
patches = [ ./permissions.patch ];
checkInputs = [
findutils
pytestCheckHook
];
# avoid import mismatch errors, as conftest.py is copied to build dir
pytestFlagsArray = [
"extension_helpers"
];
pythonImportsCheck = [
"extension_helpers"
];
meta = with lib; {
description = "Utilities for building and installing packages in the Astropy ecosystem";
homepage = "https://github.com/astropy/extension-helpers";
license = licenses.bsd3;
maintainers = with maintainers; [ rmcgibbo ];
};
}
|