python310Packages.intbitset: fix license

- disable on older Python releases
This commit is contained in:
Fabian Affolter 2022-05-05 10:01:17 +02:00
parent cbe587c735
commit 0f5df81ddb

View file

@ -2,6 +2,7 @@
, fetchPypi , fetchPypi
, buildPythonPackage , buildPythonPackage
, pytestCheckHook , pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -9,9 +10,11 @@ buildPythonPackage rec {
version = "3.0.1"; version = "3.0.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-8ebQPGcpkioiPFGEnfZbnpFuYlrvuRF4Tn+azUwgfVM="; hash = "sha256-8ebQPGcpkioiPFGEnfZbnpFuYlrvuRF4Tn+azUwgfVM=";
}; };
checkInputs = [ checkInputs = [
@ -25,7 +28,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "C-based extension implementing fast integer bit sets"; description = "C-based extension implementing fast integer bit sets";
homepage = "https://github.com/inveniosoftware/intbitset"; homepage = "https://github.com/inveniosoftware/intbitset";
license = licenses.lgpl3Only; license = licenses.lgpl3Plus;
maintainers = teams.determinatesystems.members; maintainers = teams.determinatesystems.members;
}; };
} }