python3Packages.pypandoc: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2022-11-19 10:07:18 +01:00 committed by GitHub
parent 10e247864e
commit 29d51a6baf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,19 @@
{ lib, substituteAll, buildPythonPackage, fetchFromGitHub
, pandoc, pandocfilters, texlive
{ lib
, buildPythonPackage
, fetchFromGitHub
, pandoc
, pandocfilters
, pythonOlder
, substituteAll
, texlive
}:
buildPythonPackage rec {
pname = "pypandoc";
version = "1.10";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "JessicaTegner";
repo = pname;
@ -27,6 +35,10 @@ buildPythonPackage rec {
pandocfilters
];
pythonImportsCheck = [
"pypandoc"
];
meta = with lib; {
description = "Thin wrapper for pandoc";
homepage = "https://github.com/JessicaTegner/pypandoc";