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:
commit
4f2b692f5f
|
@ -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 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue