nixpkgs-suyu/pkgs/development/python-modules/memory-allocator/default.nix
2021-08-22 14:16:35 -03:00

27 lines
605 B
Nix

{ 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 ];
pythonImportsCheck = [ "memory_allocator" ];
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;
};
}