Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
995 B · 47 lines
Nix
at gcc-offload
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchFromGitHub, setuptools, cython, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "cymem"; version = "2.0.10"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "explosion"; repo = "cymem"; tag = "release-v${version}"; hash = "sha256-lMbovEIYdXYQvLeVaCm8KfYaQ2TFSAi6picu7Ju9peg="; };
build-system = [ setuptools cython ];
nativeCheckInputs = [ pytestCheckHook ];
preCheck = '' # remove src module, so tests use the installed module instead mv ./cymem/tests ./tests rm -r ./cymem '';
pythonImportsCheck = [ "cymem" ];
meta = with lib; { description = "Cython memory pool for RAII-style memory management"; homepage = "https://github.com/explosion/cymem"; changelog = "https://github.com/explosion/cymem/releases/tag/release-v${version}"; license = licenses.mit; maintainers = with maintainers; [ nickcao ]; };}