mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
python310Packages.pybtex-docutils: enable tests
This commit is contained in:
parent
22199bf7aa
commit
a88aeb0a24
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user