diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-07-27 11:16:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-27 11:16:37 +0000 |
commit | a9f14fc1ad89696858837a873cd4c1ea61557676 (patch) | |
tree | 3654cb3391fa905e4bac1c54c538b0a02171431b /pkgs/tools/misc | |
parent | de98051abd961dcf4a6ab1ab5724e294089f6022 (diff) | |
parent | 3d1077dd455f83ea2d68612332cfc521a04c98f9 (diff) | |
download | nixpkgs-a9f14fc1ad89696858837a873cd4c1ea61557676.tar nixpkgs-a9f14fc1ad89696858837a873cd4c1ea61557676.tar.gz nixpkgs-a9f14fc1ad89696858837a873cd4c1ea61557676.tar.bz2 nixpkgs-a9f14fc1ad89696858837a873cd4c1ea61557676.tar.lz nixpkgs-a9f14fc1ad89696858837a873cd4c1ea61557676.tar.xz nixpkgs-a9f14fc1ad89696858837a873cd4c1ea61557676.tar.zst nixpkgs-a9f14fc1ad89696858837a873cd4c1ea61557676.zip |
Merge pull request #131006 from otavio/topic/add-update-script-flameshot
flameshot: Add nix-update-script support
Diffstat (limited to 'pkgs/tools/misc')
-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 838572d9297..f9136f14e61 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 ]; |