depot/third_party/nixpkgs/pkgs/development/python-modules/pycontracts/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

21 lines
576 B
Nix

{ lib, 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 lib; {
description = "Allows to declare constraints on function parameters and return values";
homepage = "https://pypi.python.org/pypi/PyContracts";
license = licenses.lgpl2;
};
}