depot/third_party/nixpkgs/pkgs/development/python-modules/sigtools/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

42 lines
776 B
Nix

{
lib,
attrs,
buildPythonPackage,
fetchPypi,
mock,
repeated-test,
setuptools-scm,
sphinx,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "sigtools";
version = "4.0.1";
format = "pyproject";
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; [ ];
};
}