Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: flashprog 0 -> 1 attrpath: flashprog 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] this derivation will be built: /nix/store/fc5dhmfkrd2fgqrlasjcvdsnfn4hbrhh-packages.json.drv building '/nix/store/fc5dhmfkrd2fgqrlasjcvdsnfn4hbrhh-packages.json.drv'... Going to be running update for following packages: - flashprog-1.5 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - flashprog-1.5: UPDATING ... - flashprog-1.5: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/fl/flashprog/package.nix b/pkgs/by-name/fl/flashprog/package.nix index 70184632d119..81157a01f6fd 100644 --- a/pkgs/by-name/fl/flashprog/package.nix +++ b/pkgs/by-name/fl/flashprog/package.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "flashprog"; - version = "1.5"; + version = "1.6"; strictDeps = true; __structuredAttrs = true; @@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchgit { url = "https://review.sourcearcade.org/flashprog"; tag = "v${finalAttrs.version}"; - hash = "sha256-laU2S7SPFCso/HzPSpbEM6hAE5/XYkNoBqFTT4PU8TU="; + hash = "sha256-Ih6cRUbmKIKRt8dIGNBbaLDomNvVdcl5P/lRBAzwwTI="; }; nativeBuildInputs = [ No auto update branch exists Old version 1.5" not present in master derivation file with contents: { fetchgit, gitUpdater, lib, libftdi1, libgpiod, libjaylink, libusb1, meson, ninja, pciutils, pkg-config, stdenv, withJlink ? true, withGpio ? stdenv.hostPlatform.isLinux, }: stdenv.mkDerivation (finalAttrs: { pname = "flashprog"; version = "1.6"; strictDeps = true; __structuredAttrs = true; src = fetchgit { url = "https://review.sourcearcade.org/flashprog"; tag = "v${finalAttrs.version}"; hash = "sha256-Ih6cRUbmKIKRt8dIGNBbaLDomNvVdcl5P/lRBAzwwTI="; }; nativeBuildInputs = [ meson ninja pkg-config ]; buildInputs = [ libftdi1 libusb1 ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ pciutils ] ++ lib.optionals withJlink [ libjaylink ] ++ lib.optionals withGpio [ libgpiod ]; postPatch = '' # Remove these rules from flashprog to avoid conflicts with libftdi sed -i"" '/ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001"/d' "util/50-flashprog.rules" sed -i"" '/ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010"/d' "util/50-flashprog.rules" sed -i"" '/ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6011"/d' "util/50-flashprog.rules" sed -i"" '/ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6014"/d' "util/50-flashprog.rules" ''; postInstall = '' install -Dm644 ../util/50-flashprog.rules "$out/lib/udev/rules.d/50-flashprog.rules" ''; doInstallCheck = true; passthru.updateScript = gitUpdater { rev-prefix = "v"; allowedVersions = "^[0-9\\.]+$"; }; meta = { homepage = "https://flashprog.org"; description = "Utility for reading, writing, erasing and verifying flash ROM chips"; changelog = "https://flashprog.org/wiki/Flashprog/v${finalAttrs.version}"; license = lib.licenses.gpl2; maintainers = with lib.maintainers; [ felixsinger funkeleinhorn jmbaur ]; platforms = lib.platforms.all; mainProgram = "flashprog"; }; })