python3Packages.typesystem: init at 0.2.4
This commit is contained in:
parent
a3b99d4a5e
commit
982d242ba5
44
pkgs/development/python-modules/typesystem/default.nix
Normal file
44
pkgs/development/python-modules/typesystem/default.nix
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, isPy27
|
||||||
|
, pytest
|
||||||
|
, pytestcov
|
||||||
|
, jinja2
|
||||||
|
, pyyaml
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "typesystem";
|
||||||
|
version = "0.2.4";
|
||||||
|
disabled = isPy27;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "encode";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1k0jwcky17zwaz2vx4x2zbsnp270g4mgn7kx5bpl8jgx76qmsnba";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
jinja2
|
||||||
|
pyyaml
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest
|
||||||
|
pytestcov
|
||||||
|
];
|
||||||
|
|
||||||
|
# for some reason jinja2 not picking up forms directory (1% of tests)
|
||||||
|
checkPhase = ''
|
||||||
|
pytest --ignore=tests/test_forms.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A type system library for Python";
|
||||||
|
homepage = https://github.com/encode/typesystem;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = [ maintainers.costrouc ];
|
||||||
|
};
|
||||||
|
}
|
@ -5104,6 +5104,8 @@ in {
|
|||||||
|
|
||||||
typesentry = callPackage ../development/python-modules/typesentry { };
|
typesentry = callPackage ../development/python-modules/typesentry { };
|
||||||
|
|
||||||
|
typesystem = callPackage ../development/python-modules/typesystem { };
|
||||||
|
|
||||||
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…
x
Reference in New Issue
Block a user