nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 33 lines 746 B view raw
1{ lib, substituteAll, buildPythonPackage, fetchPypi 2, pandoc, texlive 3}: 4 5buildPythonPackage rec { 6 pname = "pypandoc"; 7 version = "1.7.5"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "sha256-gCwmquF7ZBNsbQBpSdjOGDp9TZ+9Ty0FHmb0+59FylA="; 12 }; 13 14 patches = [ 15 (substituteAll { 16 src = ./static-pandoc-path.patch; 17 pandoc = "${lib.getBin pandoc}/bin/pandoc"; 18 pandocVersion = pandoc.version; 19 }) 20 ./skip-tests.patch 21 ]; 22 23 checkInputs = [ 24 texlive.combined.scheme-small 25 ]; 26 27 meta = with lib; { 28 description = "Thin wrapper for pandoc"; 29 homepage = "https://github.com/NicklasTegner/pypandoc"; 30 license = licenses.mit; 31 maintainers = with maintainers; [ sternenseemann bennofs ]; 32 }; 33}