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