1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 01:46:30 +00:00
nixpkgs/pkgs/development/python-modules/pycontracts/default.nix
2018-04-04 19:45:59 +02:00

22 lines
568 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, nose, pyparsing, decorator, six }:
buildPythonPackage rec {
pname = "PyContracts";
version = "1.7.9";
src = fetchPypi {
inherit pname version;
sha256 = "0rdc9pz08885vqkazjc3lyrrghmf3jzxnlsgpn8akl808x1qrfqf";
};
buildInputs = [ nose ];
propagatedBuildInputs = [ pyparsing decorator six ];
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;
};
}