mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-09 13:43:50 +00:00
flameshot: format with nixfmt-rfc-style
This commit is contained in:
parent
54f0732761
commit
b95d89928d
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user