Commit b95d8992 authored by Sebastián Mancilla's avatar Sebastián Mancilla
Browse files

flameshot: format with nixfmt-rfc-style

parent 54f07327
Loading
Loading
Loading
Loading
+19 −17
Original line number Diff line number Diff line
{ 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;
  };