1{
2 lib,
3 attrs,
4 buildPythonPackage,
5 fetchPypi,
6 mock,
7 repeated-test,
8 setuptools-scm,
9 sphinx,
10 unittestCheckHook,
11}:
12
13buildPythonPackage rec {
14 pname = "sigtools";
15 version = "4.0.1";
16 format = "pyproject";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-S44TWpzU0uoA2mcMCTNy105nK6OruH9MmNjnPepURFw=";
21 };
22
23 nativeBuildInputs = [ setuptools-scm ];
24
25 propagatedBuildInputs = [ attrs ];
26
27 nativeCheckInputs = [
28 mock
29 repeated-test
30 sphinx
31 unittestCheckHook
32 ];
33
34 pythonImportsCheck = [ "sigtools" ];
35
36 meta = with lib; {
37 description = "Utilities for working with inspect.Signature objects";
38 homepage = "https://sigtools.readthedocs.io/";
39 license = licenses.mit;
40 maintainers = [ ];
41 };
42}