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