2021-04-20 05:25:09 +02:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
2022-03-02 22:42:02 +01:00
|
|
|
, pytestCheckHook
|
2022-05-05 10:01:17 +02:00
|
|
|
, pythonOlder
|
2021-04-20 05:25:09 +02:00
|
|
|
}:
|
2022-03-02 22:42:02 +01:00
|
|
|
|
2021-04-20 05:25:09 +02:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "intbitset";
|
2022-03-31 01:05:09 +02:00
|
|
|
version = "3.0.1";
|
2022-03-02 22:42:02 +01:00
|
|
|
format = "setuptools";
|
2021-04-20 05:25:09 +02:00
|
|
|
|
2022-05-05 10:01:17 +02:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2021-04-20 05:25:09 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-05-05 10:01:17 +02:00
|
|
|
hash = "sha256-8ebQPGcpkioiPFGEnfZbnpFuYlrvuRF4Tn+azUwgfVM=";
|
2021-04-20 05:25:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
2022-03-02 22:42:02 +01:00
|
|
|
pytestCheckHook
|
2021-04-20 05:25:09 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"intbitset"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "C-based extension implementing fast integer bit sets";
|
|
|
|
homepage = "https://github.com/inveniosoftware/intbitset";
|
2022-05-05 10:01:17 +02:00
|
|
|
license = licenses.lgpl3Plus;
|
2021-04-20 05:25:09 +02:00
|
|
|
maintainers = teams.determinatesystems.members;
|
|
|
|
};
|
|
|
|
}
|