flashprog: Enable nix update script

Signed-off-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
Felix Singer
2025-03-10 00:11:47 +01:00
parent 341bff09a0
commit e6d2fecccb
+6
View File
@@ -1,6 +1,7 @@
{
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";