nixpkgs/pkgs/development/python-modules/intbitset/default.nix
Fabian Affolter 0f5df81ddb python310Packages.intbitset: fix license
- disable on older Python releases
2022-05-05 10:01:17 +02:00

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;
};
}