Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 37 lines 832 B view raw
1{ 2 buildPythonApplication, 3 fetchFromGitHub, 4 lib, 5 pandoc-xnos, 6 setuptools, 7}: 8 9buildPythonApplication rec { 10 pname = "pandoc-eqnos"; 11 version = "2.5.0"; 12 format = "pyproject"; 13 14 src = fetchFromGitHub { 15 owner = "tomduck"; 16 repo = pname; 17 rev = version; 18 sha256 = "sha256-7GQdfGHhtQs6LZK+ZyMmcPSkoFfBWmATTMejMiFcS7Y="; 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 equations and equation references"; 32 homepage = "https://github.com/tomduck/pandoc-eqnos"; 33 license = licenses.gpl3Only; 34 maintainers = with maintainers; [ ppenguin ]; 35 mainProgram = "pandoc-eqnos"; 36 }; 37}