mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-10 06:04:14 +00:00
flameshot: format with nixfmt-rfc-style
This commit is contained in:
parent
54f0732761
commit
b95d89928d
@ -1,13 +1,14 @@
|
|||||||
{ libsForQt5
|
{
|
||||||
, stdenv
|
stdenv,
|
||||||
, lib
|
lib,
|
||||||
, fetchFromGitHub
|
fetchFromGitHub,
|
||||||
, cmake
|
fetchpatch,
|
||||||
, nix-update-script
|
cmake,
|
||||||
, fetchpatch
|
libsForQt5,
|
||||||
, grim
|
grim,
|
||||||
, makeBinaryWrapper
|
makeBinaryWrapper,
|
||||||
, enableWlrSupport ? false
|
nix-update-script,
|
||||||
|
enableWlrSupport ? false,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -32,12 +33,6 @@ stdenv.mkDerivation {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru = {
|
|
||||||
updateScript = nix-update-script {
|
|
||||||
extraArgs = [ "--version=branch" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
(lib.cmakeBool "USE_WAYLAND_CLIPBOARD" true)
|
(lib.cmakeBool "USE_WAYLAND_CLIPBOARD" true)
|
||||||
(lib.cmakeBool "USE_WAYLAND_GRIM" enableWlrSupport)
|
(lib.cmakeBool "USE_WAYLAND_GRIM" enableWlrSupport)
|
||||||
@ -64,11 +59,18 @@ stdenv.mkDerivation {
|
|||||||
''${qtWrapperArgs[@]}
|
''${qtWrapperArgs[@]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Powerful yet simple to use screenshot software";
|
description = "Powerful yet simple to use screenshot software";
|
||||||
homepage = "https://github.com/flameshot-org/flameshot";
|
homepage = "https://github.com/flameshot-org/flameshot";
|
||||||
mainProgram = "flameshot";
|
mainProgram = "flameshot";
|
||||||
maintainers = with maintainers; [ scode oxalica ];
|
maintainers = with maintainers; [
|
||||||
|
scode
|
||||||
|
oxalica
|
||||||
|
];
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user