mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
87176a7384
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
22 lines
583 B
Nix
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;
|
|
};
|
|
}
|