blob: a3ea5cd4cf2ff4991090997fe0b329badb67cf18 (
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
|
{ lib
, buildPythonPackage
, fetchPypi
, findutils
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "extension-helpers";
version = "0.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "10iqjzmya2h4sk765dlm1pbqypwlqyh8rw59a5m9i63d3klnz2mc";
};
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 = [ maintainers.rmcgibbo ];
};
}
|