diff options
Diffstat (limited to 'pkgs/tools/misc/qflipper/default.nix')
-rw-r--r-- | pkgs/tools/misc/qflipper/default.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/tools/misc/qflipper/default.nix b/pkgs/tools/misc/qflipper/default.nix index 7f2a3d150226c..1db9dc2e2103d 100644 --- a/pkgs/tools/misc/qflipper/default.nix +++ b/pkgs/tools/misc/qflipper/default.nix @@ -19,12 +19,14 @@ , qtquickcontrols2 , qtgraphicaleffects , qtwayland +, nix-update-script }: let - version = "1.0.1"; + pname = "qFlipper"; + version = "1.0.2"; + sha256 = "sha256-CJQOEUwYPNd4x+uBINrxeYVITtYrsEFaYLHQh2l12kA="; timestamp = "99999999999"; commit = "nix-${version}"; - hash = "sha256-vHBlrtQ06kjjXXGL/jSdpAPHgqb7Vn1c6jXZVXwxHPQ="; udev_rules = '' #Flipper Zero serial port @@ -35,15 +37,14 @@ let in mkDerivation { - pname = "qFlipper"; - inherit version; + inherit pname version; src = fetchFromGitHub { owner = "flipperdevices"; repo = "qFlipper"; rev = version; - inherit hash; fetchSubmodules = true; + inherit sha256; }; nativeBuildInputs = [ @@ -96,6 +97,10 @@ mkDerivation { EOF ''; + passthru.updateScript = nix-update-script { + attrPath = pname; + }; + meta = with lib; { description = "Cross-platform desktop tool to manage your flipper device"; homepage = "https://flipperzero.one/"; |