Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 pytestCheckHook, 7 setuptools-scm, 8}: 9 10buildPythonPackage rec { 11 pname = "cppy"; 12 version = "1.2.1"; 13 format = "setuptools"; 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-g7Q78XsQhawVxd69tCFU8Ti5KCNLIURzWJgfadDW/hs="; 19 }; 20 21 nativeBuildInputs = [ setuptools-scm ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "cppy" ]; 26 27 meta = { 28 description = "C++ headers for C extension development"; 29 homepage = "https://github.com/nucleic/cppy"; 30 license = lib.licenses.bsd3; 31 }; 32}