nixpkgs/pkgs/development/python-modules/pycontracts/default.nix
R. RyanTM 87176a7384 python37Packages.pycontracts: 1.8.7 -> 1.8.8
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.7-pycontracts/versions
2019-02-08 15:56:46 +01:00

22 lines
583 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, nose, pyparsing, decorator, six, future }:
buildPythonPackage rec {
pname = "PyContracts";
version = "1.8.8";
src = fetchPypi {
inherit pname version;
sha256 = "0njcssvjj2aisb52xp9jmfps43iqg3fw4grj524i911p34yln2va";
};
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;
};
}