evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / memory-allocator / default.nix
blob1dd2782396cfdf27aeb4a818decde7a38329a97e
2   lib,
3   fetchPypi,
4   buildPythonPackage,
5   cython,
7   # Reverse dependency
8   sage,
9 }:
11 buildPythonPackage rec {
12   pname = "memory-allocator";
13   version = "0.1.4";
14   format = "setuptools";
16   src = fetchPypi {
17     inherit version;
18     pname = "memory_allocator";
19     hash = "sha256-1gkhawMDGWfitFqASxL/kClXj07AGf3kLPau1soJ7+Q=";
20   };
22   propagatedBuildInputs = [ cython ];
24   pythonImportsCheck = [ "memory_allocator" ];
26   passthru.tests = {
27     inherit sage;
28   };
30   meta = with lib; {
31     description = "Extension class to allocate memory easily with cython";
32     homepage = "https://github.com/sagemath/memory_allocator/";
33     maintainers = teams.sage.members;
34     license = licenses.lgpl3Plus;
35   };