depot/third_party/nixpkgs/pkgs/development/python-modules/cymem/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

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; [ ];
};
}