b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
35 lines
654 B
Nix
35 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; [ ];
|
|
};
|
|
}
|