{ lib, buildPythonPackage, fetchFromGitHub, cython, setuptools, hypothesis, pytestCheckHook, }: buildPythonPackage rec { pname = "pyroaring"; version = "1.0.2"; pyproject = true; src = fetchFromGitHub { owner = "Ezibenroc"; repo = "PyRoaringBitMap"; tag = version; hash = "sha256-g+xpQ2DuVn8b0DiIOY69QOH6iwOYHG4bltX1zbDemdI="; }; 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 ]; }; }