1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4 # Check inputs
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "python-constraint";
10 version = "1.4.0";
11
12 src = fetchFromGitHub {
13 owner = "python-constraint";
14 repo = "python-constraint";
15 rev = version;
16 sha256 = "1dv11406yxmmgkkhwzqicajbg2bmla5xfad7lv57zyahxz8jzz94";
17 };
18
19 nativeCheckInputs = [ pytestCheckHook ];
20 dontUseSetuptoolsCheck = true;
21
22 meta = with lib; {
23 description = "Constraint Solving Problem resolver for Python.";
24 homepage = "https://labix.org/doc/constraint/";
25 downloadPage = "https://github.com/python-constraint/python-constraint/releases";
26 license = licenses.bsd2;
27 maintainers = with maintainers; [ drewrisinger ];
28 };
29}