blob: 34dd55bb8dc60b92e3a1b38689a1d21e882fb6b6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ 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 = "An extension class to allocate memory easily with cython";
homepage = "https://github.com/sagemath/memory_allocator/";
maintainers = teams.sage.members;
license = licenses.lgpl3Plus;
};
}
|