1{ lib
2, attrs
3, buildPythonPackage
4, fetchPypi
5, mock
6, pythonOlder
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 disabled = pythonOlder "3.4";
19
20 src = fetchPypi {
21 inherit pname version;
22 hash = "sha256-S44TWpzU0uoA2mcMCTNy105nK6OruH9MmNjnPepURFw=";
23 };
24
25 nativeBuildInputs = [
26 setuptools-scm
27 ];
28
29 propagatedBuildInputs = [
30 attrs
31 ];
32
33 nativeCheckInputs = [
34 mock
35 repeated-test
36 sphinx
37 unittestCheckHook
38 ];
39
40 pythonImportsCheck = [
41 "sigtools"
42 ];
43
44 meta = with lib; {
45 description = "Utilities for working with inspect.Signature objects";
46 homepage = "https://sigtools.readthedocs.io/";
47 license = licenses.mit;
48 maintainers = with maintainers; [ ];
49 };
50}