1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 oset,
7 pybtex,
8 pybtex-docutils,
9 sphinx,
10}:
11
12buildPythonPackage rec {
13 pname = "sphinxcontrib-bibtex";
14 version = "2.6.2";
15 format = "setuptools";
16
17 disabled = pythonOlder "3.6";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-9IevaUM28ov7fWoXBwlTp9JkvsQwAKI3lyQnT1+NcK4=";
22 };
23
24 propagatedBuildInputs = [
25 oset
26 pybtex
27 pybtex-docutils
28 sphinx
29 ];
30
31 doCheck = false;
32
33 pythonImportsCheck = [ "sphinxcontrib.bibtex" ];
34
35 pythonNamespaces = [ "sphinxcontrib" ];
36
37 meta = with lib; {
38 description = "Sphinx extension for BibTeX style citations";
39 homepage = "https://github.com/mcmtroffaes/sphinxcontrib-bibtex";
40 license = licenses.bsd2;
41 maintainers = [ ];
42 };
43}