Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 37 lines 831 B view raw
1{ 2 buildPythonApplication, 3 fetchFromGitHub, 4 lib, 5 pandoc-xnos, 6 setuptools, 7}: 8 9buildPythonApplication rec { 10 pname = "pandoc-fignos"; 11 version = "2.4.0"; 12 format = "pyproject"; 13 14 src = fetchFromGitHub { 15 owner = "tomduck"; 16 repo = pname; 17 rev = version; 18 sha256 = "sha256-eDwAW0nLB4YqrWT3Ajt9bmX1A43wl+tOPm2St5VpCLk="; 19 }; 20 21 nativeBuildInputs = [ 22 setuptools 23 ]; 24 25 propagatedBuildInputs = [ pandoc-xnos ]; 26 27 # Different pandoc executables are not available 28 doCheck = false; 29 30 meta = with lib; { 31 description = "Standalone pandoc filter from the pandoc-xnos suite for numbering figures and figure references"; 32 homepage = "https://github.com/tomduck/pandoc-fignos"; 33 license = licenses.gpl3Only; 34 maintainers = with maintainers; [ ppenguin ]; 35 mainProgram = "pandoc-fignos"; 36 }; 37}