Merge pull request #13138 from datakurre/datakurre-pycontracts

pycontracts: init at 1.7.9
This commit is contained in:
Frederik Rietdijk 2016-02-20 11:33:03 +01:00
commit c576d1a97b

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";