Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: iottack 0.2.6 -> 0.3.0 https://github.com/inradii/iottack/releases attrpath: iottack Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] skipping because derivation has updateScript [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/zq8zs0hcb9fvm1da292wqdng0aw4hhgj-packages.json.drv building '/nix/store/zq8zs0hcb9fvm1da292wqdng0aw4hhgj-packages.json.drv'... Going to be running update for following packages: - iottack-0.2.6 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - iottack-0.2.6: UPDATING ... - iottack-0.2.6: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/io/iottack/package.nix b/pkgs/by-name/io/iottack/package.nix index e45cf1674dbe..5852d9fc3d66 100644 --- a/pkgs/by-name/io/iottack/package.nix +++ b/pkgs/by-name/io/iottack/package.nix @@ -14,7 +14,7 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "iottack"; - version = "0.2.6"; + version = "0.3.0"; __structuredAttrs = true; @@ -22,7 +22,7 @@ rustPlatform.buildRustPackage (finalAttrs: { owner = "inradii"; repo = "iottack"; tag = finalAttrs.version; - hash = "sha256-MywvMN24b1yLhAa6YJw2nX5e8T6ht+Ar+PyB6d9NB4s="; + hash = "sha256-cCSBkSTKjey2mpINbdM/hFUe3wGRo/N4apBQji9bRvc="; }; cargoHash = "sha256-lV1Q386TW2Y8n3nZFcX0kxujyLjJBRfRsWmZs/xswq0="; No auto update branch exists Old version 0.2.6" not present in master derivation file with contents: { lib, aws-lc, dbus, fetchFromGitHub, glib, libsigrok, libsigrokdecode, nix-update-script, pkg-config, rustPlatform, versionCheckHook, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "iottack"; version = "0.3.0"; __structuredAttrs = true; src = fetchFromGitHub { owner = "inradii"; repo = "iottack"; tag = finalAttrs.version; hash = "sha256-cCSBkSTKjey2mpINbdM/hFUe3wGRo/N4apBQji9bRvc="; }; cargoHash = "sha256-lV1Q386TW2Y8n3nZFcX0kxujyLjJBRfRsWmZs/xswq0="; nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ]; buildInputs = [ aws-lc dbus glib libsigrok libsigrokdecode ]; # libsigrok-sys build script searches for LD_LIBRARY_PATH instead of using pkg-config preBuild = '' export LD_LIBRARY_PATH=${ lib.makeLibraryPath [ libsigrok libsigrokdecode ] } ''; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; passthru.updateScript = nix-update-script { }; meta = { description = "Framework for testing common IoT protocols and IoT implementations"; homepage = "https://github.com/inradii/iottack"; changelog = "https://github.com/inradii/iottack/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "iottack"; platforms = lib.platforms.linux; }; })