about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sigtools/default.nix
blob: 87dc4e91e6e90e5444308c757abcd077440c754b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{ 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; [ ];
  };
}