2023-02-07 18:24:28 +01:00
|
|
|
{
|
|
|
|
gitpkgs ? import /home/steveej/src/github/NixOS/nixpkgs {},
|
|
|
|
pkgs ? gitpkgs,
|
|
|
|
name ? "generic",
|
|
|
|
version ? "Stable",
|
|
|
|
extraBuildInputs ? [],
|
|
|
|
}: let
|
|
|
|
commonVimRC = "";
|
|
|
|
in
|
|
|
|
pkgs.stdenv.mkDerivation {
|
|
|
|
inherit name;
|
|
|
|
buildInputs = with pkgs;
|
|
|
|
[
|
|
|
|
(import ./vim-pandoc.nix {
|
|
|
|
pkgs = gitpkgs;
|
|
|
|
commonRC = commonVimRC;
|
|
|
|
})
|
|
|
|
pandoc
|
|
|
|
texlive.combined.scheme-medium
|
|
|
|
python27Packages.pandocfilters
|
|
|
|
python27Packages.htmltreediff
|
|
|
|
python27Packages.html5lib
|
|
|
|
python27Packages.dbus-python
|
|
|
|
]
|
|
|
|
++ extraBuildInputs;
|
|
|
|
shellHook = ''
|
|
|
|
pandocname=pandoc_${pkgs.pandoc.version}
|
|
|
|
setPS1 $pandocname
|
|
|
|
unset name
|
|
|
|
'';
|
|
|
|
}
|