maestral-qt: format with nixfmt

This commit is contained in:
Stefan Frijters 2024-07-09 23:18:00 +02:00
parent d7535991e2
commit 025db4d957
No known key found for this signature in database
GPG Key ID: 7619A6BC6E7DFA6F

View File

@ -1,11 +1,12 @@
{ lib {
, fetchFromGitHub lib,
, python3 fetchFromGitHub,
, qtbase python3,
, qtsvg qtbase,
, qtwayland qtsvg,
, nixosTests qtwayland,
, wrapQtAppsHook nixosTests,
wrapQtAppsHook,
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
@ -22,9 +23,7 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-VkJOKKYnoXux3WjD1JwINGWwv1SMIXfidyV2ITE7dJc="; hash = "sha256-VkJOKKYnoXux3WjD1JwINGWwv1SMIXfidyV2ITE7dJc=";
}; };
build-system = with python3.pkgs; [ build-system = with python3.pkgs; [ setuptools ];
setuptools
];
dependencies = with python3.pkgs; [ dependencies = with python3.pkgs; [
click click
@ -37,12 +36,10 @@ python3.pkgs.buildPythonApplication rec {
buildInputs = [ buildInputs = [
qtwayland qtwayland
qtbase qtbase
qtsvg # Needed for the systray icon qtsvg # Needed for the systray icon
]; ];
nativeBuildInputs = [ nativeBuildInputs = [ wrapQtAppsHook ];
wrapQtAppsHook
];
dontWrapQtApps = true; dontWrapQtApps = true;
@ -67,7 +64,10 @@ python3.pkgs.buildPythonApplication rec {
homepage = "https://maestral.app"; homepage = "https://maestral.app";
changelog = "https://github.com/samschott/maestral/releases/tag/v${version}"; changelog = "https://github.com/samschott/maestral/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ peterhoeg sfrijters ]; maintainers = with maintainers; [
peterhoeg
sfrijters
];
platforms = platforms.linux; platforms = platforms.linux;
mainProgram = "maestral_qt"; mainProgram = "maestral_qt";
}; };