Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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 dontUseSetuptoolsCheck = true; 23 24 meta = with lib; { 25 description = "Constraint Solving Problem resolver for Python"; 26 homepage = "https://labix.org/doc/constraint/"; 27 downloadPage = "https://github.com/python-constraint/python-constraint/releases"; 28 license = licenses.bsd2; 29 maintainers = with maintainers; [ drewrisinger ]; 30 }; 31}