diff options
Diffstat (limited to 'pkgs/development/python-modules/pypandoc/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pypandoc/default.nix | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/pypandoc/default.nix b/pkgs/development/python-modules/pypandoc/default.nix index eb7287e4a1b02..87cfe2708dfde 100644 --- a/pkgs/development/python-modules/pypandoc/default.nix +++ b/pkgs/development/python-modules/pypandoc/default.nix @@ -1,16 +1,24 @@ -{ lib, substituteAll, buildPythonPackage, fetchFromGitHub -, pandoc, texlive +{ lib +, buildPythonPackage +, fetchFromGitHub +, pandoc +, pandocfilters +, pythonOlder +, substituteAll +, texlive }: buildPythonPackage rec { pname = "pypandoc"; - version = "1.8.1"; + version = "1.10"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { - owner = "NicklasTegner"; + owner = "JessicaTegner"; repo = pname; rev = "v${version}"; - hash = "sha256-1vQmONQFJrjptwVVjw25Wyt59loatjScsdnSax+q/f8="; + hash = "sha256:05m585l4sipjzpkrv4yj5s7w45yxhxlym55lkhnavsshlvisinkz"; }; patches = [ @@ -24,11 +32,16 @@ buildPythonPackage rec { checkInputs = [ texlive.combined.scheme-small + pandocfilters + ]; + + pythonImportsCheck = [ + "pypandoc" ]; meta = with lib; { description = "Thin wrapper for pandoc"; - homepage = "https://github.com/NicklasTegner/pypandoc"; + homepage = "https://github.com/JessicaTegner/pypandoc"; license = licenses.mit; maintainers = with maintainers; [ sternenseemann bennofs ]; }; |