Merge pull request #131006 from otavio/topic/add-update-script-flameshot

flameshot: Add nix-update-script support
This commit is contained in:
Sandro 2021-07-27 11:16:37 +00:00 committed by GitHub
commit a9f14fc1ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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