2021-07-16 20:25:55 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, cython
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "memory-allocator";
|
2021-12-07 06:04:01 +00:00
|
|
|
version = "0.1.2";
|
2021-07-16 20:25:55 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "memory_allocator";
|
2021-12-07 06:04:01 +00:00
|
|
|
sha256 = "ddf42a2dcc678062f30c63c868335204d46a4ecdf4db0dc43ed4529f1d0ffab9";
|
2021-07-16 20:25:55 +00:00
|
|
|
};
|
|
|
|
|
2021-08-22 17:16:35 +00:00
|
|
|
propagatedBuildInputs = [ cython ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "memory_allocator" ];
|
2021-07-16 20:25:55 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|