python310Packages.pybtex-docutils: enable tests

This commit is contained in:
Fabian Affolter 2022-05-26 17:06:31 +02:00 committed by GitHub
parent 22199bf7aa
commit a88aeb0a24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,37 @@
{ lib, buildPythonPackage, fetchPypi, docutils, pybtex, six }:
{ lib
, buildPythonPackage
, docutils
, fetchPypi
, pybtex
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
version = "1.0.2";
pname = "pybtex-docutils";
version = "1.0.2";
format = "setuptools";
doCheck = false;
buildInputs = [ docutils pybtex six ];
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Q6o1O21Jj9WsMPAHOpjjMtBh00/mGdPVDRdh+P1KoBY=";
hash = "sha256-Q6o1O21Jj9WsMPAHOpjjMtBh00/mGdPVDRdh+P1KoBY=";
};
buildInputs = [
docutils
pybtex
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pybtex_docutils"
];
meta = with lib; {
description = "A docutils backend for pybtex";
homepage = "https://github.com/mcmtroffaes/pybtex-docutils";