Merge pull request #172709 from fabaff/bump-license-expression

python310Packages.scancode-toolkit: 30.1.0 -> 31.0.0b4, python310Packages.typecode: 21.6.1 -> 30.0.0, python310Packages.plugincode: 21.1.21 -> 30.0.0
main
Fabian Affolter 2 years ago committed by GitHub
commit df6211071c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkgs/development/python-modules/container-inspector/default.nix
  2. 12
      pkgs/development/python-modules/debian-inspector/default.nix
  3. 2
      pkgs/development/python-modules/license-expression/default.nix
  4. 16
      pkgs/development/python-modules/parameter-expansion-patched/default.nix
  5. 2
      pkgs/development/python-modules/pip-requirements-parser/default.nix
  6. 16
      pkgs/development/python-modules/plugincode/default.nix
  7. 8
      pkgs/development/python-modules/pyahocorasick/default.nix
  8. 20
      pkgs/development/python-modules/scancode-toolkit/default.nix
  9. 7
      pkgs/development/python-modules/typecode/default.nix

@ -24,6 +24,8 @@ buildPythonPackage rec {
hash = "sha256-YwtyNZsTMb8iFXo/rojvjkKUbMNRCXVamzFykpwYCOk="; hash = "sha256-YwtyNZsTMb8iFXo/rojvjkKUbMNRCXVamzFykpwYCOk=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version;
dontConfigure = true; dontConfigure = true;
nativeBuildInputs = [ nativeBuildInputs = [

@ -6,24 +6,30 @@
, commoncode , commoncode
, pytestCheckHook , pytestCheckHook
, setuptools-scm , setuptools-scm
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "debian-inspector"; pname = "debian-inspector";
version = "30.0.0"; version = "30.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
pname = "debian_inspector"; pname = "debian_inspector";
inherit version; inherit version;
sha256 = "sha256-0PT5sT6adaqgYQtWjks12ys0z1C3n116aeJaEKR/Wxg="; hash = "sha256-0PT5sT6adaqgYQtWjks12ys0z1C3n116aeJaEKR/Wxg=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version;
dontConfigure = true;
nativeBuildInputs = [ nativeBuildInputs = [
setuptools-scm setuptools-scm
]; ];
dontConfigure = true;
propagatedBuildInputs = [ propagatedBuildInputs = [
chardet chardet
attrs attrs

@ -20,6 +20,8 @@ buildPythonPackage rec {
hash = "sha256-tGXNZm9xH8sXa7dtBFsTzGgT+hfbmkwps7breR7KUWU="; hash = "sha256-tGXNZm9xH8sXa7dtBFsTzGgT+hfbmkwps7breR7KUWU=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version;
dontConfigure = true; dontConfigure = true;
nativeBuildInputs = [ nativeBuildInputs = [

@ -3,19 +3,27 @@
, fetchPypi , fetchPypi
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, setuptools-scm
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "parameter-expansion-patched"; pname = "parameter-expansion-patched";
version = "0.2.1b4"; version = "0.3.1";
format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1vhshscjifi78qapzwn29gln6p8jhyc7cccszl8ai2jamhcph5zs"; hash = "sha256-/128ifveWC8zNlYtGWtxB3HpK6p7bVk1ahSwhaC2dAs=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools-scm
];
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
]; ];
@ -26,7 +34,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "POSIX parameter expansion in Python"; description = "POSIX parameter expansion in Python";
homepage = "https://github.com/nexB/commoncode"; homepage = "https://github.com/nexB/parameter_expansion_patched";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

@ -21,6 +21,8 @@ buildPythonPackage rec {
hash = "sha256-i4hw3tS4i2ek2JzcDiGo5aFFJ9J2JJ9MB5vxDhOilb0="; hash = "sha256-i4hw3tS4i2ek2JzcDiGo5aFFJ9J2JJ9MB5vxDhOilb0=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version;
dontConfigure = true; dontConfigure = true;
nativeBuildInputs = [ nativeBuildInputs = [

@ -7,14 +7,19 @@
, pluggy , pluggy
, pytestCheckHook , pytestCheckHook
, pytest-xdist , pytest-xdist
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "plugincode"; pname = "plugincode";
version = "21.1.21"; version = "30.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "97b5a2c96f0365c80240be103ecd86411c68b11a16f137913cbea9129c54907a"; hash = "sha256-QjcQCvhlaBzcbBB8MIhbsx4cRy7XkdvUcmG7rM48Sos=";
}; };
dontConfigure = true; dontConfigure = true;
@ -38,8 +43,13 @@ buildPythonPackage rec {
"plugincode" "plugincode"
]; ];
disabledTests = [
# We don't want black as an input
"test_skeleton_codestyle"
];
meta = with lib; { meta = with lib; {
description = "A library that provides plugin functionality for ScanCode toolkit"; description = "Library that provides plugin functionality for ScanCode toolkit";
homepage = "https://github.com/nexB/plugincode"; homepage = "https://github.com/nexB/plugincode";
license = licenses.asl20; license = licenses.asl20;
maintainers = teams.determinatesystems.members; maintainers = teams.determinatesystems.members;

@ -8,7 +8,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyahocorasick"; pname = "pyahocorasick";
version = "1.4.4"; version = "2.0.0b1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -17,17 +17,13 @@ buildPythonPackage rec {
owner = "WojciechMula"; owner = "WojciechMula";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-X6ifwOwf7GAaNUxInKhR3NX6hKhvFMkvfbK6XpH8CBo="; hash = "sha256-APpL99kOwzIQjePvRDeJ0FDm1kjBi6083JMKuBqtaRk=";
}; };
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
]; ];
pytestFlagsArray = [
"unittests.py"
];
pythonImportsCheck = [ pythonImportsCheck = [
"ahocorasick" "ahocorasick"
]; ];

@ -8,8 +8,9 @@
, click , click
, colorama , colorama
, commoncode , commoncode
, container-inspector
, debian-inspector , debian-inspector
, dparse , dparse2
, extractcode , extractcode
, extractcode-7z , extractcode-7z
, extractcode-libarchive , extractcode-libarchive
@ -32,7 +33,8 @@
, packaging , packaging
, parameter-expansion-patched , parameter-expansion-patched
, pefile , pefile
, pkginfo , pip-requirements-parser
, pkginfo2
, pluggy , pluggy
, plugincode , plugincode
, publicsuffix2 , publicsuffix2
@ -58,13 +60,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "scancode-toolkit"; pname = "scancode-toolkit";
version = "30.1.0"; version = "31.0.0b4";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-UYQf+cBi2FmyZxIbQJo7vLjPuoePIMC8FugvoG1Ebj0="; hash = "sha256-sPFHaIbbWw/wk3Q1PBDj5O4il9ntigoyanecg938a9A=";
}; };
dontConfigure = true; dontConfigure = true;
@ -78,8 +80,9 @@ buildPythonPackage rec {
click click
colorama colorama
commoncode commoncode
container-inspector
debian-inspector debian-inspector
dparse dparse2
extractcode extractcode
extractcode-7z extractcode-7z
extractcode-libarchive extractcode-libarchive
@ -88,6 +91,7 @@ buildPythonPackage rec {
ftfy ftfy
gemfileparser gemfileparser
html5lib html5lib
importlib-metadata
intbitset intbitset
jaraco_functools jaraco_functools
javaproperties javaproperties
@ -100,7 +104,8 @@ buildPythonPackage rec {
packaging packaging
parameter-expansion-patched parameter-expansion-patched
pefile pefile
pkginfo pip-requirements-parser
pkginfo2
pluggy pluggy
plugincode plugincode
publicsuffix2 publicsuffix2
@ -118,9 +123,8 @@ buildPythonPackage rec {
typecode-libmagic typecode-libmagic
urlpy urlpy
xmltodict xmltodict
zipp
] ++ lib.optionals (pythonOlder "3.9") [ ] ++ lib.optionals (pythonOlder "3.9") [
importlib-metadata zipp
] ++ lib.optionals (pythonOlder "3.7") [ ] ++ lib.optionals (pythonOlder "3.7") [
typing typing
]; ];

@ -10,16 +10,19 @@
, typecode-libmagic , typecode-libmagic
, pytestCheckHook , pytestCheckHook
, pytest-xdist , pytest-xdist
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "typecode"; pname = "typecode";
version = "21.6.1"; version = "30.0.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "d3a82859df5607c900972e08e1bca31e3fe2daed37afd1b8231cad2ef613d8d6"; hash = "sha256-pRGLU/xzQQqDZMIsrq1Fy7VgGIpFjnHtpmO+yL7t4g8=";
}; };
dontConfigure = true; dontConfigure = true;

Loading…
Cancel
Save