snac2: 2.68 -> 2.70 (#379043)
[NixPkgs.git] / pkgs / development / python-modules / typesentry / default.nix
blobadb56fd0ad8263e59b354ddecbc9937be1c807ba
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   colorama,
6   pytestCheckHook,
7 }:
9 buildPythonPackage {
10   pname = "typesentry";
11   version = "0.2.7";
12   format = "setuptools";
14   # Only wheel distribution is available on PyPi.
15   src = fetchFromGitHub {
16     owner = "h2oai";
17     repo = "typesentry";
18     rev = "0ca8ed0e62d15ffe430545e7648c9a9b2547b49c";
19     sha256 = "0z615f9dxaab3bay3v27j7q99qm6l6q8xv872yvsp87sxj7apfki";
20   };
22   propagatedBuildInputs = [ colorama ];
23   nativeCheckInputs = [ pytestCheckHook ];
25   meta = with lib; {
26     description = "Python 2.7 & 3.5+ runtime type-checker";
27     homepage = "https://github.com/h2oai/typesentry";
28     license = licenses.asl20;
29     maintainers = with maintainers; [ abbradar ];
30   };