172baa1315
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.6-pycontracts/versions
21 lines
583 B
Nix
21 lines
583 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, nose, pyparsing, decorator, six, future }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "PyContracts";
|
|
version = "1.8.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1b65jkbk9bcl10s49w9frsjcarfzi8gp22a40cz7zxry8b8yvcf0";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|