1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-18 23:50:07 +03:00
nixpkgs/pkgs/development/python-modules/memory-allocator/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
696 B
Nix
Raw Normal View History

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