nixpkgs/pkgs/development/python-modules/memory-allocator/default.nix

28 lines
563 B
Nix
Raw Normal View History

{ lib
, fetchPypi
, buildPythonPackage
, cython
}:
buildPythonPackage rec {
pname = "memory-allocator";
version = "0.1.0";
src = fetchPypi {
inherit version;
pname = "memory_allocator";
sha256 = "sha256-UUcR71e3eAQIQpmWM+AVQxVtgHvrNjaIlHo5pURUln0=";
};
propagatedBuildInputs = [
cython
];
meta = with lib; {
description = "An extension class to allocate memory easily with cython";
homepage = "https://github.com/sagemath/memory_allocator/";
maintainers = teams.sage.members;
license = licenses.lgpl3Plus;
};
}