mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 12:53:54 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
37 lines
708 B
Nix
37 lines
708 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/";
|
|
maintainers = teams.sage.members;
|
|
license = licenses.lgpl3Plus;
|
|
};
|
|
}
|