about summary refs log tree commit diff
path: root/pkgs/development/python-modules/memory-allocator/default.nix
blob: 90c75d0bb7fe5009f7823addc1217c9e5b5df664 (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
{ lib
, fetchPypi
, buildPythonPackage
, cython_3
}:

buildPythonPackage rec {
  pname = "memory-allocator";
  version = "0.1.3";
  format = "setuptools";

  src = fetchPypi {
    inherit version;
    pname = "memory_allocator";
    hash = "sha256-E4BcKuHAG3SJ+rXo6sk2FmK08sAkEuNlLuzkj/aVMWI=";
  };

  propagatedBuildInputs = [ cython_3 ];

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