35 lines
664 B
Nix
35 lines
664 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "intbitset";
|
|
version = "3.0.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-8ebQPGcpkioiPFGEnfZbnpFuYlrvuRF4Tn+azUwgfVM=";
|
|
};
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"intbitset"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "C-based extension implementing fast integer bit sets";
|
|
homepage = "https://github.com/inveniosoftware/intbitset";
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = teams.determinatesystems.members;
|
|
};
|
|
}
|