diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2021-07-21 22:01:50 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-07-21 22:01:50 -0300 |
commit | 3d1077dd455f83ea2d68612332cfc521a04c98f9 (patch) | |
tree | cc6635494aeead5581ff047434da63c602267f91 /pkgs/tools/misc/flameshot | |
parent | 6702627613c33416bebe4cd45bba073e167f30bd (diff) |
flameshot: Add nix-update-script support
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'pkgs/tools/misc/flameshot')
-rw-r--r-- | pkgs/tools/misc/flameshot/default.nix | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/pkgs/tools/misc/flameshot/default.nix b/pkgs/tools/misc/flameshot/default.nix index 838572d929739..f9136f14e615a 100644 --- a/pkgs/tools/misc/flameshot/default.nix +++ b/pkgs/tools/misc/flameshot/default.nix @@ -1,4 +1,12 @@ -{ mkDerivation, lib, fetchFromGitHub, qtbase, cmake, qttools, qtsvg }: +{ mkDerivation +, lib +, fetchFromGitHub +, qtbase +, cmake +, qttools +, qtsvg +, nix-update-script +}: mkDerivation rec { pname = "flameshot"; @@ -11,6 +19,12 @@ mkDerivation rec { sha256 = "1m0mx8qhy9ycsqh5dj6c7mwwpbhqxlds31dqdxxk0krwl750smi2"; }; + passthru = { + updateScript = nix-update-script { + attrPath = pname; + }; + }; + nativeBuildInputs = [ cmake qttools qtsvg ]; buildInputs = [ qtbase ]; |