mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
51 lines
830 B
Nix
51 lines
830 B
Nix
{ lib
|
|
, attrs
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, mock
|
|
, pythonOlder
|
|
, repeated-test
|
|
, setuptools-scm
|
|
, sphinx
|
|
, unittestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sigtools";
|
|
version = "4.0.1";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-S44TWpzU0uoA2mcMCTNy105nK6OruH9MmNjnPepURFw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
attrs
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
mock
|
|
repeated-test
|
|
sphinx
|
|
unittestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"sigtools"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Utilities for working with inspect.Signature objects";
|
|
homepage = "https://sigtools.readthedocs.io/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|