1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-23 09:51:00 +03:00

pythonPackages.python-constraint: init at 1.4.0

This commit is contained in:
Drew Risinger 2020-04-09 22:27:26 -04:00
parent 324dd67013
commit 69a7c3ba2d
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
# Check inputs
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "python-constraint";
version = "1.4.0";
src = fetchFromGitHub {
owner = "python-constraint";
repo = "python-constraint";
rev = version;
sha256 = "1dv11406yxmmgkkhwzqicajbg2bmla5xfad7lv57zyahxz8jzz94";
};
checkInputs = [ pytestCheckHook ];
dontUseSetuptoolsCheck = true;
meta = with lib; {
description = "Constraint Solving Problem resolver for Python.";
homepage = "https://labix.org/doc/constraint/";
downloadPage = "https://github.com/python-constraint/python-constraint/releases";
license = licenses.bsd2;
maintainers = with maintainers; [ drewrisinger ];
};
}