Merge pull request #171635 from fabaff/scancode-toolkit-fix
python310Packages.scancode-toolkit: relax intbitset constraint
This commit is contained in:
commit
9083f1a182
|
@ -2,6 +2,7 @@
|
|||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -9,9 +10,11 @@ buildPythonPackage rec {
|
|||
version = "3.0.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-8ebQPGcpkioiPFGEnfZbnpFuYlrvuRF4Tn+azUwgfVM=";
|
||||
hash = "sha256-8ebQPGcpkioiPFGEnfZbnpFuYlrvuRF4Tn+azUwgfVM=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
@ -25,7 +28,7 @@ buildPythonPackage rec {
|
|||
meta = with lib; {
|
||||
description = "C-based extension implementing fast integer bit sets";
|
||||
homepage = "https://github.com/inveniosoftware/intbitset";
|
||||
license = licenses.lgpl3Only;
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = teams.determinatesystems.members;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -64,7 +64,7 @@ buildPythonPackage rec {
|
|||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-UYQf+cBi2FmyZxIbQJo7vLjPuoePIMC8FugvoG1Ebj0=";
|
||||
hash = "sha256-UYQf+cBi2FmyZxIbQJo7vLjPuoePIMC8FugvoG1Ebj0=";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
|
@ -134,7 +134,8 @@ buildPythonPackage rec {
|
|||
--replace "pdfminer.six >= 20200101" "pdfminer.six" \
|
||||
--replace "pluggy >= 0.12.0, < 1.0" "pluggy" \
|
||||
--replace "pygmars >= 0.7.0" "pygmars" \
|
||||
--replace "license_expression >= 21.6.14" "license_expression"
|
||||
--replace "license_expression >= 21.6.14" "license_expression" \
|
||||
--replace "intbitset >= 2.3.0, < 3.0" "intbitset"
|
||||
'';
|
||||
|
||||
# Importing scancode needs a writeable home, and preCheck happens in between
|
||||
|
|
Loading…
Reference in a new issue