Adds pandoc-cli and glow, and removes nix-diff
This commit is contained in:
parent
37696f5472
commit
59441fa7fe
|
@ -0,0 +1,34 @@
|
||||||
|
{ system, nixpkgs }:
|
||||||
|
let
|
||||||
|
hlib = pkgs.haskell.lib.compose;
|
||||||
|
leanHaskellLibrary = hlib.overrideCabal (old: {
|
||||||
|
doHaddock = false;
|
||||||
|
enableLibraryProfiling = false;
|
||||||
|
});
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
overlays = [
|
||||||
|
(final: prev: {
|
||||||
|
haskellPackages = prev.haskellPackages.extend (
|
||||||
|
hfinal: hprev: with hprev; {
|
||||||
|
pandoc = leanHaskellLibrary pandoc_3_5;
|
||||||
|
pandoc-lua-engine = leanHaskellLibrary pandoc-lua-engine_0_3_3;
|
||||||
|
pandoc-server = leanHaskellLibrary pandoc-server_0_1_0_9;
|
||||||
|
pandoc-cli = pandoc-cli_3_5;
|
||||||
|
hslua-module-doclayout = leanHaskellLibrary hslua-module-doclayout_1_2_0;
|
||||||
|
lpeg = leanHaskellLibrary lpeg_1_1_0;
|
||||||
|
doclayout = doclayout_0_5;
|
||||||
|
texmath = hlib.dontCheck (hlib.doJailbreak texmath_0_12_8_11);
|
||||||
|
typst = hlib.doJailbreak typst_0_6;
|
||||||
|
typst-symbols = hprev.callPackage ./typst-symbols.nix { };
|
||||||
|
tls = tls_2_1_1;
|
||||||
|
toml-parser = toml-parser_2_0_1_0;
|
||||||
|
crypton-connection = crypton-connection_0_4_1;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
})
|
||||||
|
];
|
||||||
|
config = { };
|
||||||
|
};
|
||||||
|
in
|
||||||
|
pkgs.haskellPackages.pandoc-cli
|
|
@ -0,0 +1,13 @@
|
||||||
|
{ mkDerivation, base, lib, text }:
|
||||||
|
mkDerivation {
|
||||||
|
pname = "typst-symbols";
|
||||||
|
version = "0.1.6";
|
||||||
|
sha256 = "947ff2a09549a6a0387327e6b15c9219947be67ebe5fb190d1fb98495d7e429d";
|
||||||
|
libraryHaskellDepends = [ base text ];
|
||||||
|
doHaddock = false;
|
||||||
|
doCheck = false;
|
||||||
|
hyperlinkSource = false;
|
||||||
|
homepage = "https://github.com/jgm/typst-symbols";
|
||||||
|
description = "Symbol and emoji lookup for typst language";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
}
|
|
@ -19,7 +19,6 @@ let
|
||||||
config.nix.package
|
config.nix.package
|
||||||
niv
|
niv
|
||||||
nix
|
nix
|
||||||
nix-diff
|
|
||||||
nix-tree
|
nix-tree
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
nvd
|
nvd
|
||||||
|
@ -40,6 +39,7 @@ let
|
||||||
broot
|
broot
|
||||||
coreutils-full
|
coreutils-full
|
||||||
fd
|
fd
|
||||||
|
glow
|
||||||
gnugrep
|
gnugrep
|
||||||
less
|
less
|
||||||
ranger
|
ranger
|
||||||
|
@ -52,6 +52,12 @@ let
|
||||||
brotli
|
brotli
|
||||||
cabal2nix
|
cabal2nix
|
||||||
(opaComplete "cabal-plan" (leanHaskellBinary haskellPackages.cabal-plan))
|
(opaComplete "cabal-plan" (leanHaskellBinary haskellPackages.cabal-plan))
|
||||||
|
(leanHaskellBinary (
|
||||||
|
import ../packages/pandoc-cli-3.5.nix {
|
||||||
|
system = pkgs.system;
|
||||||
|
nixpkgs = inputs.nixpkgs;
|
||||||
|
}
|
||||||
|
))
|
||||||
cloc
|
cloc
|
||||||
comma
|
comma
|
||||||
difftastic
|
difftastic
|
||||||
|
|
Loading…
Reference in New Issue