1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 pytestCheckHook,
6 pythonOlder,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "intbitset";
12 version = "4.0.0";
13 pyproject = true;
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-wUHtqhwXuRwph1N+Jp2VWra9w5Zq89624eDSDtvQndI=";
20 };
21
22 build-system = [ setuptools ];
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 pythonImportsCheck = [ "intbitset" ];
26
27 meta = {
28 description = "C-based extension implementing fast integer bit sets";
29 homepage = "https://github.com/inveniosoftware/intbitset";
30 changelog = "https://github.com/inveniosoftware-contrib/intbitset/blob/v${version}/CHANGELOG.rst";
31 license = lib.licenses.lgpl3Plus;
32 maintainers = with lib.maintainers; [ sigmanificient ];
33 };
34}