14910f5943
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
37 lines
818 B
Nix
37 lines
818 B
Nix
{ 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 ];
|
|
};
|
|
}
|