11 buildPythonPackage rec {
16 disabled = pythonOlder "3.7";
18 src = fetchFromGitHub {
21 rev = "refs/tags/v${version}";
22 hash = "sha256-e4lgV39lwC2Goqmd8Jjra+znuCpxsv2IsRXfFbQkGN8=";
30 nativeCheckInputs = [ pytestCheckHook ];
33 # remove src module, so tests use the installed module instead
34 mv ./cymem/tests ./tests
38 pythonImportsCheck = [ "cymem" ];
41 description = "Cython memory pool for RAII-style memory management";
42 homepage = "https://github.com/explosion/cymem";
43 changelog = "https://github.com/explosion/cymem/releases/tag/v${version}";
44 license = licenses.mit;
45 maintainers = with maintainers; [ nickcao ];