Files
nixpkgs/pkgs/development/python-modules/pyroaring/default.nix
2025-05-18 13:06:58 +00:00

43 lines
864 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
cython,
setuptools,
hypothesis,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyroaring";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "Ezibenroc";
repo = "PyRoaringBitMap";
tag = version;
hash = "sha256-Zs/MO1R4iBHDfTRVizMl6KyEWI6k2iDX7jAkBZs7kZE=";
};
build-system = [
cython
setuptools
];
pythonImportsCheck = [ "pyroaring" ];
nativeCheckInputs = [
hypothesis
pytestCheckHook
];
meta = {
description = "Python library for handling efficiently sorted integer sets";
homepage = "https://github.com/Ezibenroc/PyRoaringBitMap";
changelog = "https://github.com/Ezibenroc/PyRoaringBitMap/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ drupol ];
};
}