1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 cython, 6 setuptools, 7 hypothesis, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "pyroaring"; 13 version = "1.0.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "Ezibenroc"; 18 repo = "PyRoaringBitMap"; 19 tag = version; 20 hash = "sha256-pnANvqyQ5DpG4NWSgWkAkXvSNLO67nfa97nEz3fYf1Y="; 21 }; 22 23 build-system = [ 24 cython 25 setuptools 26 ]; 27 28 pythonImportsCheck = [ "pyroaring" ]; 29 30 nativeCheckInputs = [ 31 hypothesis 32 pytestCheckHook 33 ]; 34 35 meta = { 36 description = "Python library for handling efficiently sorted integer sets"; 37 homepage = "https://github.com/Ezibenroc/PyRoaringBitMap"; 38 changelog = "https://github.com/Ezibenroc/PyRoaringBitMap/releases/tag/${version}"; 39 license = lib.licenses.mit; 40 maintainers = with lib.maintainers; [ drupol ]; 41 }; 42}