depot/third_party/nixpkgs/pkgs/development/python-modules/astropy-extension-helpers/default.nix
Default email 14910f5943 Project import generated by Copybara.
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
2022-01-13 15:06:32 -05:00

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 ];
};
}