nixpkgs/pkgs/development/python-modules/memory-allocator/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
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/'
2024-06-09 23:07:45 +02:00

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;
};
}