blob: 55354a17c72b62829cdc20f97d8357f897894e8b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ stdenv, buildPythonPackage, fetchPypi
, nose, pyparsing, decorator, six, future }:
buildPythonPackage rec {
pname = "PyContracts";
version = "1.8.12";
src = fetchPypi {
inherit pname version;
sha256 = "e76adbd832deec28b2045a6094c5bb779a0b2cb1105a23b3efafe723e2c9937a";
};
buildInputs = [ nose ];
propagatedBuildInputs = [ pyparsing decorator six future ];
meta = with stdenv.lib; {
description = "Allows to declare constraints on function parameters and return values";
homepage = "https://pypi.python.org/pypi/PyContracts";
license = licenses.lgpl2;
};
}
|