1{ lib 2, buildPythonPackage 3, docutils 4, fetchPypi 5, pybtex 6, pytestCheckHook 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "pybtex-docutils"; 12 version = "1.0.2"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-Q6o1O21Jj9WsMPAHOpjjMtBh00/mGdPVDRdh+P1KoBY="; 20 }; 21 22 buildInputs = [ 23 docutils 24 pybtex 25 ]; 26 27 checkInputs = [ 28 pytestCheckHook 29 ]; 30 31 pythonImportsCheck = [ 32 "pybtex_docutils" 33 ]; 34 35 meta = with lib; { 36 description = "A docutils backend for pybtex"; 37 homepage = "https://github.com/mcmtroffaes/pybtex-docutils"; 38 license = licenses.mit; 39 }; 40}