a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
35 lines
773 B
Nix
35 lines
773 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "intbitset";
|
|
version = "3.0.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-owCy1aSYmFf/HQw5cWJHZqiadR4xWqCAwHhlAxrmN6c=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"intbitset"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "C-based extension implementing fast integer bit sets";
|
|
homepage = "https://github.com/inveniosoftware/intbitset";
|
|
changelog = "https://github.com/inveniosoftware-contrib/intbitset/blob/v${version}/CHANGELOG.rst";
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = teams.determinatesystems.members;
|
|
};
|
|
}
|