summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/typesentry/default.nix
blob: 649d10fb2049c85d1ec0c82f3c37c8c790ca7fe9 (plain)
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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  colorama,
  pytestCheckHook,
}:

buildPythonPackage {
  pname = "typesentry";
  version = "0.2.7";
  format = "setuptools";

  # Only wheel distribution is available on PyPi.
  src = fetchFromGitHub {
    owner = "h2oai";
    repo = "typesentry";
    rev = "0ca8ed0e62d15ffe430545e7648c9a9b2547b49c";
    sha256 = "0z615f9dxaab3bay3v27j7q99qm6l6q8xv872yvsp87sxj7apfki";
  };

  propagatedBuildInputs = [ colorama ];
  nativeCheckInputs = [ pytestCheckHook ];

  meta = {
    description = "Python 2.7 & 3.5+ runtime type-checker";
    homepage = "https://github.com/h2oai/typesentry";
    license = lib.licenses.asl20;
    maintainers = [ ];
  };
}