python310Packages.scancode-toolkit 31.2.6 -> 32.0.8 https://repology.org/project/python:scancode-toolkit/versions attrpath: python310Packages.scancode-toolkit Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/ma6aqwv0ir5x4swdhg9z9i4dkq7ihasl-packages.json.drv building '/nix/store/ma6aqwv0ir5x4swdhg9z9i4dkq7ihasl-packages.json.drv'... Going to be running update for following packages: - python3.10-scancode-toolkit-31.2.6 Press Enter key to continue... Running update for: - python3.10-scancode-toolkit-31.2.6: UPDATING ... - python3.10-scancode-toolkit-31.2.6: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/scancode-toolkit/default.nix b/pkgs/development/python-modules/scancode-toolkit/default.nix index 9c82820f8416..db508e401f51 100644 --- a/pkgs/development/python-modules/scancode-toolkit/default.nix +++ b/pkgs/development/python-modules/scancode-toolkit/default.nix @@ -61,13 +61,13 @@ buildPythonPackage rec { pname = "scancode-toolkit"; - version = "31.2.6"; + version = "32.0.8"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-VvhgXZpV58DHeY5+7nPbrbTTVuHkawFw5akbm4hPnBY="; + hash = "sha256-W6Ev1MV8cZU4bauAfmuZsBzMJKz7xpw8siO3Afn5mc8="; }; dontConfigure = true; No auto update branch exists Old version 31.2.6" not present in staging derivation file with contents: { lib , attrs , beautifulsoup4 , bitarray , boolean-py , buildPythonPackage , chardet , click , colorama , commoncode , container-inspector , debian-inspector , dparse2 , extractcode , extractcode-7z , extractcode-libarchive , fasteners , fetchPypi , fetchpatch , fingerprints , ftfy , gemfileparser2 , html5lib , importlib-metadata , intbitset , jaraco-functools , javaproperties , jinja2 , jsonstreams , license-expression , lxml , markupsafe , packageurl-python , packaging , parameter-expansion-patched , pefile , pip-requirements-parser , pkginfo2 , pluggy , plugincode , publicsuffix2 , pyahocorasick , pycryptodome , pygmars , pygments , pymaven-patch , pytestCheckHook , pythonOlder , requests , saneyaml , spdx-tools , text-unidecode , toml , typecode , typecode-libmagic , typing , urlpy , xmltodict , zipp }: buildPythonPackage rec { pname = "scancode-toolkit"; version = "32.0.6"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; hash = "sha256-suqk7LOnZgSJGlaHq81LDOSCHZWdsJOUbma6MEpHxSM="; }; dontConfigure = true; propagatedBuildInputs = [ attrs beautifulsoup4 bitarray boolean-py chardet click colorama commoncode container-inspector debian-inspector dparse2 extractcode extractcode-7z extractcode-libarchive fasteners fingerprints ftfy gemfileparser2 html5lib importlib-metadata intbitset jaraco-functools javaproperties jinja2 jsonstreams license-expression lxml markupsafe packageurl-python packaging parameter-expansion-patched pefile pip-requirements-parser pkginfo2 pluggy plugincode publicsuffix2 pyahocorasick pycryptodome pygmars pygments pymaven-patch requests saneyaml spdx-tools text-unidecode toml typecode typecode-libmagic urlpy xmltodict ] ++ lib.optionals (pythonOlder "3.9") [ zipp ] ++ lib.optionals (pythonOlder "3.7") [ typing ]; nativeCheckInputs = [ pytestCheckHook ]; patches = [ (fetchpatch { name = "${pname}-allow-stable-spdx-tools.patch"; url = "https://github.com/nexB/scancode-toolkit/commit/d89ab6584d3df6b7eb1d1394559e9d967d6db6ae.patch"; includes = [ "src/*" ]; hash = "sha256-AU3vJlOxmCy3yvkupVaAVxAKxJI3ymXEk+A5DWSkfOM="; }) ]; postPatch = '' substituteInPlace setup.cfg \ --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 "intbitset >= 2.3.0, < 3.0" "intbitset" \ --replace "spdx_tools == 0.7.0a3" "spdx_tools" ''; # Importing scancode needs a writeable home, and preCheck happens in between # pythonImportsCheckPhase and pytestCheckPhase. postInstall = '' export HOME=$(mktemp -d) ''; pythonImportsCheck = [ "scancode" ]; # takes a long time and doesn't appear to do anything dontStrip = true; meta = with lib; { description = "Tool to scan code for license, copyright, package and their documented dependencies and other interesting facts"; homepage = "https://github.com/nexB/scancode-toolkit"; changelog = "https://github.com/nexB/scancode-toolkit/blob/v${version}/CHANGELOG.rst"; license = with licenses; [ asl20 cc-by-40 ]; maintainers = with maintainers; [ ]; }; }