3
0
Fork 0
forked from mirrors/nixpkgs

pandoc-eqnos: init at 2.5.0

This commit is contained in:
Jeroen Versteeg 2022-05-06 18:24:51 +02:00
parent 36c879d18c
commit 5466f3931f
No known key found for this signature in database
GPG key ID: 7E7143B546BB17A7
2 changed files with 32 additions and 1 deletions

View file

@ -0,0 +1,30 @@
{ buildPythonApplication
, fetchFromGitHub
, lib
, pandoc-xnos
}:
buildPythonApplication rec {
pname = "pandoc-eqnos";
version = "2.5.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "tomduck";
repo = pname;
rev = version;
sha256 = "sha256-7GQdfGHhtQs6LZK+ZyMmcPSkoFfBWmATTMejMiFcS7Y=";
};
propagatedBuildInputs = [ pandoc-xnos ];
# Different pandoc executables are not available
doCheck = false;
meta = with lib; {
description = "Standalone pandoc filter from the pandoc-xnos suite for numbering equations and equation references";
homepage = "https://github.com/tomduck/pandoc-eqnos";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ppenguin ];
};
}

View file

@ -8332,7 +8332,8 @@ with pkgs;
pandoc-plantuml-filter = python3Packages.callPackage ../tools/misc/pandoc-plantuml-filter { };
panicparse = callPackage ../tools/misc/panicparse { };
# pandoc-*nos is a filter suite, where pandoc-xnos has all functionality and the others are used for only specific functionality
pandoc-eqnos = python3Packages.callPackage ../tools/misc/pandoc-eqnos { };
patray = callPackage ../tools/audio/patray { };