1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 02:46:28 +00:00
nixpkgs/pkgs/development/python-modules/pycontracts/default.nix
2018-11-18 16:40:49 +01:00

22 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;
};
}