Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: python3Packages.resvg-py 0 -> 1 attrpath: python3Packages.resvg-py Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/j9xdpq9fzz5w1b1ny1r4a8swr5ljdyfx-packages.json.drv building '/nix/store/j9xdpq9fzz5w1b1ny1r4a8swr5ljdyfx-packages.json.drv'... Going to be running update for following packages: - python3.13-resvg-py-0.2.6 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.13-resvg-py-0.2.6: UPDATING ... - python3.13-resvg-py-0.2.6: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/resvg-py/default.nix b/pkgs/development/python-modules/resvg-py/default.nix index ce60f88d0455..fec1c29484c4 100644 --- a/pkgs/development/python-modules/resvg-py/default.nix +++ b/pkgs/development/python-modules/resvg-py/default.nix @@ -12,19 +12,19 @@ buildPythonPackage (finalAttrs: { pname = "resvg-py"; - version = "0.2.6"; + version = "0.3.0"; pyproject = true; src = fetchFromGitHub { owner = "baseplate-admin"; repo = "resvg-py"; tag = finalAttrs.version; - hash = "sha256-lNNAIEEzwPEs/Qup6PXkMWezGHEAVs4VxuwBv5DgjWE="; + hash = "sha256-XXzNrOR2/bMXR5GWEk8XKlCNHNG4+Sz0+0EgESc8FbQ="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src; - hash = "sha256-OrXWiMIgqZ2opl3XfC2zVwN9w0xz2u08mRA883tN6pM="; + hash = "sha256-pIz92GeQctxAbCZ8QPbFhSTmdSVNopw0vL2fwMJXoYc="; }; build-system = [ No auto update branch exists Old version 0.2.6" not present in master derivation file with contents: { lib, stdenv, buildPythonPackage, fetchFromGitHub, rustPlatform, pytest, pyperclip, xvfb-run, xclip, }: buildPythonPackage (finalAttrs: { pname = "resvg-py"; version = "0.3.0"; pyproject = true; src = fetchFromGitHub { owner = "baseplate-admin"; repo = "resvg-py"; tag = finalAttrs.version; hash = "sha256-XXzNrOR2/bMXR5GWEk8XKlCNHNG4+Sz0+0EgESc8FbQ="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src; hash = "sha256-pIz92GeQctxAbCZ8QPbFhSTmdSVNopw0vL2fwMJXoYc="; }; build-system = [ rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook ]; nativeCheckInputs = [ pytest pyperclip ] ++ lib.optionals stdenv.isLinux [ xclip xvfb-run ]; checkPhase = '' runHook preCheck ${lib.optionalString stdenv.hostPlatform.isLinux "xvfb-run"} python -m pytest ${lib.optionalString stdenv.hostPlatform.isDarwin "-k \"not test_multiple_layer_svg\""} runHook postCheck ''; pythonImportsCheck = [ "resvg_py" ]; meta = { changelog = "https://github.com/baseplate-admin/resvg-py/releases/tag/${finalAttrs.src.tag}"; description = "High level wrapper of resvg for python"; homepage = "https://github.com/baseplate-admin/resvg-py"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ hexa ]; }; })