pandoc-lua-filters: init at 2020-11-30
This commit is contained in:
parent
652b3fad35
commit
9a31966f14
2 changed files with 35 additions and 0 deletions
33
pkgs/tools/misc/pandoc-lua-filters/default.nix
Normal file
33
pkgs/tools/misc/pandoc-lua-filters/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pandoc-lua-filters";
|
||||
version = "2020-11-30";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pandoc";
|
||||
repo = "lua-filters";
|
||||
rev = "v${version}";
|
||||
sha256 = "HWBlmlIuJOSgRVrUmXOAI4XTxs1PbZhcwZgZFX0x2wM=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dt $out/share/pandoc/filters **/*.lua
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A collection of lua filters for pandoc";
|
||||
homepage = "https://github.com/pandoc/lua-filters";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jtojnar ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -6378,6 +6378,8 @@ in
|
|||
|
||||
pandoc = callPackage ../development/tools/pandoc { };
|
||||
|
||||
pandoc-lua-filters = callPackage ../tools/misc/pandoc-lua-filters { };
|
||||
|
||||
pamtester = callPackage ../tools/security/pamtester { };
|
||||
|
||||
paperless = callPackage ../applications/office/paperless { };
|
||||
|
|
Loading…
Reference in a new issue