mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
python3.pkgs.typesentry: init at 0.2.7
This commit is contained in:
parent
d29a39d7d5
commit
c5ed8dd610
33
pkgs/development/python-modules/typesentry/default.nix
Normal file
33
pkgs/development/python-modules/typesentry/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, colorama
|
||||||
|
, pytest
|
||||||
|
, pytestcov
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "typesentry";
|
||||||
|
version = "0.2.7";
|
||||||
|
|
||||||
|
# Only wheel distribution is available on PyPi.
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "h2oai";
|
||||||
|
repo = "typesentry";
|
||||||
|
rev = "0ca8ed0e62d15ffe430545e7648c9a9b2547b49c";
|
||||||
|
sha256 = "0z615f9dxaab3bay3v27j7q99qm6l6q8xv872yvsp87sxj7apfki";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ colorama ];
|
||||||
|
checkInputs = [ pytest pytestcov ];
|
||||||
|
checkPhase = ''
|
||||||
|
pytest
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python 2.7 & 3.5+ runtime type-checker";
|
||||||
|
homepage = "https://github.com/h2oai/typesentry";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ abbradar ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -4306,6 +4306,8 @@ in {
|
||||||
|
|
||||||
typeguard = callPackage ../development/python-modules/typeguard { };
|
typeguard = callPackage ../development/python-modules/typeguard { };
|
||||||
|
|
||||||
|
typesentry = callPackage ../development/python-modules/typesentry { };
|
||||||
|
|
||||||
s3transfer = callPackage ../development/python-modules/s3transfer { };
|
s3transfer = callPackage ../development/python-modules/s3transfer { };
|
||||||
|
|
||||||
seqdiag = callPackage ../development/python-modules/seqdiag { };
|
seqdiag = callPackage ../development/python-modules/seqdiag { };
|
||||||
|
|
Loading…
Reference in a new issue