pycontracts: init at 1.7.9

This commit is contained in:
Asko Soukka 2016-02-20 00:07:15 +02:00
parent 8b06e2fab1
commit c5416370d5

View File

@ -3906,6 +3906,26 @@ in modules // {
};
};
pycontracts = buildPythonPackage rec {
version = "1.7.9";
name = "PyContracts-${version}";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/P/PyContracts/${name}.tar.gz";
sha256 = "0rdc9pz08885vqkazjc3lyrrghmf3jzxnlsgpn8akl808x1qrfqf";
};
buildInputs = with self; [ nose ];
propagatedBuildInputs = with self; [ pyparsing decorator six ];
meta = {
description = "Allows to declare constraints on function parameters and return values.";
homepage = https://pypi.python.org/pypi/PyContracts;
license = licenses.lgpl2;
};
};
pycparser = buildPythonPackage rec {
name = "pycparser-${version}";
version = "2.14";