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