Skip to content

Commit

Permalink
marktext: nixfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Bot-wxt1221 committed Nov 8, 2024
1 parent ffa66d3 commit d0a1177
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions pkgs/by-name/ma/marktext/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{ appimageTools, fetchurl, lib }:
{
appimageTools,
fetchurl,
lib,
}:

let
pname = "marktext";
Expand All @@ -20,7 +24,10 @@ appimageTools.wrapType2 rec {
export LC_ALL=C.UTF-8
'';

extraPkgs = pkgs: [ pkgs.libsecret pkgs.xorg.libxkbfile ];
extraPkgs = pkgs: [
pkgs.libsecret
pkgs.xorg.libxkbfile
];

extraInstallCommands = ''
install -m 444 -D ${appimageContents}/marktext.desktop $out/share/applications/marktext.desktop
Expand All @@ -34,7 +41,10 @@ appimageTools.wrapType2 rec {
description = "Simple and elegant markdown editor, available for Linux, macOS and Windows";
homepage = "https://www.marktext.cc";
license = licenses.mit;
maintainers = with maintainers; [ nh2 eduarrrd ];
maintainers = with maintainers; [
nh2
eduarrrd
];
platforms = [ "x86_64-linux" ];
mainProgram = "marktext";
};
Expand Down

0 comments on commit d0a1177

Please sign in to comment.