Something went wrong. Try again.
lol
Something went wrong. Try again.
976 B · 44 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchFromGitHub, setuptools, cython, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "cymem"; version = "2.0.14"; pyproject = true;
src = fetchFromGitHub { owner = "explosion"; repo = "cymem"; tag = "release-v${finalAttrs.version}"; hash = "sha256-pb7AWkCOLfoH2kLNNwIxxHyGsxCpq72Qzid4aCYu9XM="; };
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 = { description = "Cython memory pool for RAII-style memory management"; homepage = "https://github.com/explosion/cymem"; changelog = "https://github.com/explosion/cymem/releases/tag/release-${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ nickcao ]; };})