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