diff options
author | Ryan Mulligan <ryan@ryantm.com> | 2020-12-08 20:34:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 20:34:09 -0800 |
commit | bc7013c3736e182dd3cfbd9600794fa2d2d0e2ba (patch) | |
tree | c368f92f5242f6fec7e83b78ca1d10277aec0112 /pkgs/tools | |
parent | d028eb3cf7c2fe3aa78a55ed906653c17b836ae6 (diff) | |
parent | ba11a966532d93aa7dea667fb1f07de9e781e55c (diff) |
Merge pull request #105986 from jtojnar/staging-workflow-diagram
doc: Add staging workflow diagram
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/pandoc-lua-filters/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/tools/misc/pandoc-lua-filters/default.nix b/pkgs/tools/misc/pandoc-lua-filters/default.nix new file mode 100644 index 000000000000..b7c081c1ddd0 --- /dev/null +++ b/pkgs/tools/misc/pandoc-lua-filters/default.nix @@ -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; + }; +} |