Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
37 lines
698 B
Nix
37 lines
698 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
cython,
|
|
|
|
# Reverse dependency
|
|
sage,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "memory-allocator";
|
|
version = "0.1.4";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "memory_allocator";
|
|
hash = "sha256-1gkhawMDGWfitFqASxL/kClXj07AGf3kLPau1soJ7+Q=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ cython ];
|
|
|
|
pythonImportsCheck = [ "memory_allocator" ];
|
|
|
|
passthru.tests = {
|
|
inherit sage;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Extension class to allocate memory easily with cython";
|
|
homepage = "https://github.com/sagemath/memory_allocator/";
|
|
teams = [ teams.sage ];
|
|
license = licenses.lgpl3Plus;
|
|
};
|
|
}
|