3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #201517 from sternenseemann/pypandoc-1.10

python3Packages.pypandoc: 1.8.1 -> 1.10
This commit is contained in:
Fabian Affolter 2022-11-19 10:34:42 +01:00 committed by GitHub
commit 4f2b692f5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];
};