Commit e6d2fecc authored by Felix Singer's avatar Felix Singer
Browse files

flashprog: Enable nix update script

parent 341bff09
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
{
  fetchgit,
  fetchpatch,
  gitUpdater,
  lib,
  libftdi1,
  libgpiod,
@@ -51,6 +52,11 @@ stdenv.mkDerivation (finalAttrs: {
    install -Dm644 util/50-flashprog.rules "$out/lib/udev/rules.d/50-flashprog.rules"
  '';

  passthru.updateScript = gitUpdater {
    rev-prefix = "v";
    allowedVersions = "^[0-9\\.]+$";
  };

  meta = with lib; {
    homepage = "https://flashprog.org";
    description = "Utility for reading, writing, erasing and verifying flash ROM chips";