3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/cymem/default.nix
2022-08-24 12:44:19 -04:00

36 lines
654 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, cython
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "cymem";
version = "2.0.6";
src = fetchFromGitHub {
owner = "explosion";
repo = "cymem";
rev = "v${version}";
sha256 = "sha256-o+44v6wvE9HxeQaDDQ0+gi7z1V7jtkZvWglY8UyVHLg=";
};
propagatedBuildInputs = [
cython
];
checkInputs = [ pytestCheckHook ];
preCheck = ''
cd cymem
'';
meta = with lib; {
description = "Cython memory pool for RAII-style memory management";
homepage = "https://github.com/explosion/cymem";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}