flashprog: Enable nix update script
Signed-off-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user