flameshot: format with nixfmt-rfc-style

This commit is contained in:
Sebastián Mancilla 2024-08-30 22:26:09 -04:00
parent 54f0732761
commit b95d89928d

View File

@ -1,13 +1,14 @@
{ libsForQt5
, stdenv
, lib
, fetchFromGitHub
, cmake
, nix-update-script
, fetchpatch
, grim
, makeBinaryWrapper
, enableWlrSupport ? false
{
stdenv,
lib,
fetchFromGitHub,
fetchpatch,
cmake,
libsForQt5,
grim,
makeBinaryWrapper,
nix-update-script,
enableWlrSupport ? false,
}:
stdenv.mkDerivation {
@ -32,12 +33,6 @@ stdenv.mkDerivation {
})
];
passthru = {
updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
};
};
cmakeFlags = [
(lib.cmakeBool "USE_WAYLAND_CLIPBOARD" true)
(lib.cmakeBool "USE_WAYLAND_GRIM" enableWlrSupport)
@ -64,11 +59,18 @@ stdenv.mkDerivation {
''${qtWrapperArgs[@]}
'';
passthru = {
updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
};
meta = with lib; {
description = "Powerful yet simple to use screenshot software";
homepage = "https://github.com/flameshot-org/flameshot";
mainProgram = "flameshot";
maintainers = with maintainers; [ scode oxalica ];
maintainers = with maintainers; [
scode
oxalica
];
license = licenses.gpl3Plus;
platforms = platforms.linux ++ platforms.darwin;
};