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