Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: ferdium 0 -> 1 attrpath: ferdium Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] these 2 derivations will be built: /nix/store/36y18q9bxpap9mnzsp9ig9rr9xrj6gch-update-ferdium.drv /nix/store/a3l4fsl38l4883mrczcdmv5106i7zlxk-packages.json.drv building '/nix/store/36y18q9bxpap9mnzsp9ig9rr9xrj6gch-update-ferdium.drv'... structuredAttrs is enabled building '/nix/store/a3l4fsl38l4883mrczcdmv5106i7zlxk-packages.json.drv'... structuredAttrs is enabled Going to be running update for following packages: - ferdium-7.1.2 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - ferdium-7.1.2: UPDATING ... - ferdium-7.1.2: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/applications/networking/instant-messengers/ferdium/default.nix b/pkgs/applications/networking/instant-messengers/ferdium/default.nix index 625d389b93e6..ae36c428908b 100644 --- a/pkgs/applications/networking/instant-messengers/ferdium/default.nix +++ b/pkgs/applications/networking/instant-messengers/ferdium/default.nix @@ -24,15 +24,15 @@ let hash = { - x86_64-linux = "sha256-ODQKFjBa2riJY26aPaAfLzuCyLYkB5oYSxIE28nMmwY="; - aarch64-linux = "sha256-CYHoTw6JUyU63iTd9tAbfWVnb48WcZgGtjthqnlAD8I="; + x86_64-linux = "sha256-+KP107a8Tmr2qR8pH+gHuXqEqiC5ExPGXoYOqV1Urbo="; + aarch64-linux = "sha256-6XnuSqHOJxAURTGWfi4QUBv4ictLmjeJAoyrPg+o+Bg="; } .${system} or throwSystem; in mkFranzDerivation rec { pname = "ferdium"; name = "Ferdium"; - version = "7.1.2"; + version = "7.2.3"; src = fetchurl { url = "https://github.com/ferdium/ferdium-app/releases/download/v${version}/Ferdium-linux-${version}-${arch}.deb"; inherit hash; No auto update branch exists Old version 7.1.2" not present in master derivation file with contents: { lib, mkFranzDerivation, fetchurl, libxshmfence, stdenv, writeShellScript, nix-update, jq, nix, common-updater-scripts, }: let inherit (stdenv.hostPlatform) system; throwSystem = throw "ferdium: arch ${system} not supported"; arch = { x86_64-linux = "amd64"; aarch64-linux = "arm64"; } .${system} or throwSystem; hash = { x86_64-linux = "sha256-+KP107a8Tmr2qR8pH+gHuXqEqiC5ExPGXoYOqV1Urbo="; aarch64-linux = "sha256-6XnuSqHOJxAURTGWfi4QUBv4ictLmjeJAoyrPg+o+Bg="; } .${system} or throwSystem; in mkFranzDerivation rec { pname = "ferdium"; name = "Ferdium"; version = "7.2.3"; src = fetchurl { url = "https://github.com/ferdium/ferdium-app/releases/download/v${version}/Ferdium-linux-${version}-${arch}.deb"; inherit hash; }; extraBuildInputs = [ libxshmfence ]; passthru.updateScript = writeShellScript "update-ferdium" '' ${lib.getExe nix-update} ferdium --no-src --override-filename pkgs/applications/networking/instant-messengers/ferdium/default.nix latestVersion=$(nix eval --raw --file . ferdium.version) if [[ "$latestVersion" == "$UPDATE_NIX_OLD_VERSION" ]]; then exit 0 fi for system in x86_64-linux aarch64-linux; do hash=$(${lib.getExe nix} store prefetch-file --json \ "$(nix eval --raw --file . ferdium.src.url --argstr system "$system")" \ | ${lib.getExe jq} --raw-output .hash) ${lib.getExe' common-updater-scripts "update-source-version"} \ ferdium "$latestVersion" "$hash" --system="$system" \ --ignore-same-version --ignore-same-hash done ''; meta = { description = "All your services in one place built by the community"; homepage = "https://ferdium.org/"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ magnouvean ]; platforms = [ "x86_64-linux" "aarch64-linux" ]; hydraPlatforms = [ ]; }; }