Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
738 B · 36 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pytestCheckHook, setuptools-scm,}:
buildPythonPackage rec { pname = "cppy"; version = "1.3.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "nucleic"; repo = "cppy"; tag = version; hash = "sha256-RwwXwdjpq4ZjUyHkWoh3eaJDzIV3MargeoBJ+nTHsyg="; };
build-system = [ setuptools-scm ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "cppy" ];
meta = { changelog = "https://github.com/nucleic/cppy/releases/tag/${src.tag}"; description = "C++ headers for C extension development"; homepage = "https://github.com/nucleic/cppy"; license = lib.licenses.bsd3; };}