66604c92c1
GitOrigin-RevId: 32b8ed738096bafb4cdb7f70347a0f63f9f40151
21 lines
586 B
Nix
21 lines
586 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, nose, pyparsing, decorator, six, future }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "PyContracts";
|
|
version = "1.8.14";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "03q5m595ysjrc9h57m7prrca6b9l4yrzvdijnzxnhd61p7jzbh49";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|