16 buildPythonPackage rec {
17 pname = "extension-helpers";
21 disabled = pythonOlder "3.7";
24 inherit pname version;
25 hash = "sha256-SUYMeKP40fjOwXRHn16FrURZSMzEFgM8WqPm3fLFAik=";
29 # Not needed to allow this package to build, but meant for it's dependent
30 # packages, like astropy. See explanation at:
31 # https://github.com/astropy/extension-helpers/pull/59
33 url = "https://github.com/astropy/extension-helpers/commit/796f3e7831298df2d26b6d994b13fd57061a56d1.patch";
34 hash = "sha256-NnqK9HQq1hQ66RUJf9gTCuLyA0BVqVtL292mSXJ9860=";
44 propagatedBuildInputs = [ tomli ];
52 # avoid import mismatch errors, as conftest.py is copied to build dir
53 pytestFlagsArray = [ "extension_helpers" ];
56 # https://github.com/astropy/extension-helpers/issues/43
57 "test_write_if_different"
60 pythonImportsCheck = [ "extension_helpers" ];
63 description = "Utilities for building and installing packages in the Astropy ecosystem";
64 homepage = "https://github.com/astropy/extension-helpers";
65 license = licenses.bsd3;
66 maintainers = with maintainers; [ rmcgibbo ];