diff options
author | Vladimir Serov <me@cab404.ru> | 2022-04-30 02:55:33 +0400 |
---|---|---|
committer | Vladimir Serov <me@cab404.ru> | 2022-04-30 09:28:41 +0400 |
commit | 5808d9aeb801f0dd9581a992701bdf8f150c4c9f (patch) | |
tree | 66907d564552a05f450c3f94204fcb71da7cdb59 /pkgs/tools/misc | |
parent | 834b2caf0a31c414e0ff8b9b5a9e571e321b02df (diff) |
qFlipper: 1.0.1 -> 1.0.2
Also checked and enabled updateScript
Diffstat (limited to 'pkgs/tools/misc')
-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/"; |