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