diff options
author | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2016-02-20 11:33:03 +0100 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2016-02-20 11:33:03 +0100 |
commit | c576d1a97bb7aa6165c6e9f50bd21a22bdbd56f9 (patch) | |
tree | 1feee3e568c8b3701e3b1280950ad7385e9674a7 /pkgs/top-level | |
parent | a0912fd3b4d4ff5c1d601d37dd1f436b54fab02c (diff) | |
parent | c5416370d50a3bc6d03624cf85eb2329ae4b3798 (diff) | |
download | nixlib-c576d1a97bb7aa6165c6e9f50bd21a22bdbd56f9.tar nixlib-c576d1a97bb7aa6165c6e9f50bd21a22bdbd56f9.tar.gz nixlib-c576d1a97bb7aa6165c6e9f50bd21a22bdbd56f9.tar.bz2 nixlib-c576d1a97bb7aa6165c6e9f50bd21a22bdbd56f9.tar.lz nixlib-c576d1a97bb7aa6165c6e9f50bd21a22bdbd56f9.tar.xz nixlib-c576d1a97bb7aa6165c6e9f50bd21a22bdbd56f9.tar.zst nixlib-c576d1a97bb7aa6165c6e9f50bd21a22bdbd56f9.zip |
Merge pull request #13138 from datakurre/datakurre-pycontracts
pycontracts: init at 1.7.9
Diffstat (limited to 'pkgs/top-level')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8ec275834e8f..a98bc5e93af4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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"; |