python3Packages.pypandoc: add pythonImportsCheck
This commit is contained in:
parent
10e247864e
commit
29d51a6baf
@ -1,11 +1,19 @@
|
|||||||
{ lib, substituteAll, buildPythonPackage, fetchFromGitHub
|
{ lib
|
||||||
, pandoc, pandocfilters, texlive
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pandoc
|
||||||
|
, pandocfilters
|
||||||
|
, pythonOlder
|
||||||
|
, substituteAll
|
||||||
|
, texlive
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pypandoc";
|
pname = "pypandoc";
|
||||||
version = "1.10";
|
version = "1.10";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "JessicaTegner";
|
owner = "JessicaTegner";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
@ -27,6 +35,10 @@ buildPythonPackage rec {
|
|||||||
pandocfilters
|
pandocfilters
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"pypandoc"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Thin wrapper for pandoc";
|
description = "Thin wrapper for pandoc";
|
||||||
homepage = "https://github.com/JessicaTegner/pypandoc";
|
homepage = "https://github.com/JessicaTegner/pypandoc";
|
||||||
|
Loading…
Reference in New Issue
Block a user