python310Packages.pybtex-docutils: enable tests
This commit is contained in:
parent
22199bf7aa
commit
a88aeb0a24
1 changed files with 25 additions and 5 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue