nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 27 lines 618 B view raw
1{ lib 2, fetchPypi 3, buildPythonPackage 4, cython 5}: 6 7buildPythonPackage rec { 8 pname = "memory-allocator"; 9 version = "0.1.2"; 10 11 src = fetchPypi { 12 inherit version; 13 pname = "memory_allocator"; 14 sha256 = "ddf42a2dcc678062f30c63c868335204d46a4ecdf4db0dc43ed4529f1d0ffab9"; 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}