mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
27
pkgs/development/python-modules/memory-allocator/default.nix
Normal file
27
pkgs/development/python-modules/memory-allocator/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user