1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 09:02:46 +00:00

flameshot: Add nix-update-script support

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2021-07-21 22:01:50 -03:00
parent 6702627613
commit 3d1077dd45

View file

@ -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 ];