1{ lib 2, fetchPypi 3, buildPythonPackage 4, cython 5}: 6 7buildPythonPackage rec { 8 pname = "memory-allocator"; 9 version = "0.1.3"; 10 11 src = fetchPypi { 12 inherit version; 13 pname = "memory_allocator"; 14 hash = "sha256-E4BcKuHAG3SJ+rXo6sk2FmK08sAkEuNlLuzkj/aVMWI="; 15 }; 16 17 propagatedBuildInputs = [ cython ]; 18 19 pythonImportsCheck = [ "memory_allocator" ]; 20 21 meta = with lib; { 22 description = "An extension class to allocate memory easily with cython"; 23 homepage = "https://github.com/sagemath/memory_allocator/"; 24 maintainers = teams.sage.members; 25 license = licenses.lgpl3Plus; 26 }; 27}