···11+{ buildPythonApplication
22+, fetchFromGitHub
33+, lib
44+, pandoc-xnos
55+}:
66+77+buildPythonApplication rec {
88+ pname = "pandoc-fignos";
99+ version = "2.4.0";
1010+ format = "pyproject";
1111+1212+ src = fetchFromGitHub {
1313+ owner = "tomduck";
1414+ repo = pname;
1515+ rev = version;
1616+ sha256 = "sha256-eDwAW0nLB4YqrWT3Ajt9bmX1A43wl+tOPm2St5VpCLk=";
1717+ };
1818+1919+ propagatedBuildInputs = [ pandoc-xnos ];
2020+2121+ # Different pandoc executables are not available
2222+ doCheck = false;
2323+2424+ meta = with lib; {
2525+ description = "Standalone pandoc filter from the pandoc-xnos suite for numbering figures and figure references";
2626+ homepage = "https://github.com/tomduck/pandoc-fignos";
2727+ license = licenses.gpl3Only;
2828+ maintainers = with maintainers; [ ppenguin ];
2929+ };
3030+}
+1
pkgs/top-level/all-packages.nix
···8334833483358335 # pandoc-*nos is a filter suite, where pandoc-xnos has all functionality and the others are used for only specific functionality
83368336 pandoc-eqnos = python3Packages.callPackage ../tools/misc/pandoc-eqnos { };
83378337+ pandoc-fignos = python3Packages.callPackage ../tools/misc/pandoc-fignos { };
8337833883388339 patray = callPackage ../tools/audio/patray { };
83398340