summaryrefslogtreecommitdiffstats
path: root/pkgs/applications
diff options
context:
space:
mode:
authorThiago Franco de Moraes <totonixsame@gmail.com>2021-03-25 16:57:17 -0300
committersterni <sternenseemann@systemli.org>2021-03-25 22:00:57 +0100
commit1b0a2d8447505616835b220147f0a0a50d8b4ff6 (patch)
treeabfe25a38b17ce4168ab1142584eaa6c52cf24fb /pkgs/applications
parentdba181a2dc511c6039115a4ee181bba4184d353f (diff)
zettlr: remove pandoc-citeproc from dependencies
Pandoc-citeproc is no longer maintained. Pandoc now uses the citeproc library, and no external filter is needed. Also use nixpkgs-fmt to format archive.
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/misc/zettlr/default.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/applications/misc/zettlr/default.nix b/pkgs/applications/misc/zettlr/default.nix
index 4b9627a843bd..eb8c81dae7e8 100644
--- a/pkgs/applications/misc/zettlr/default.nix
+++ b/pkgs/applications/misc/zettlr/default.nix
@@ -1,5 +1,10 @@
-{ appimageTools, lib, fetchurl, gtk3, gsettings-desktop-schemas
-, texlive, pandoc, pandoc-citeproc
+{ appimageTools
+, lib
+, fetchurl
+, gtk3
+, gsettings-desktop-schemas
+, texlive
+, pandoc
}:
# Based on https://gist.github.com/msteen/96cb7df66a359b827497c5269ccbbf94 and joplin-desktop nixpkgs.
@@ -14,7 +19,8 @@ let
appimageContents = appimageTools.extractType2 {
inherit name src;
};
-in appimageTools.wrapType2 rec {
+in
+appimageTools.wrapType2 rec {
inherit name src;
profile = ''
@@ -22,7 +28,7 @@ in appimageTools.wrapType2 rec {
'';
multiPkgs = null; # no 32bit needed
- extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ [ texlive pandoc pandoc-citeproc ];
+ extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ [ texlive pandoc ];
extraInstallCommands = ''
mv $out/bin/{${name},${pname}}
install -m 444 -D ${appimageContents}/Zettlr.desktop $out/share/applications/zettlr.desktop