1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy3k
5, oset
6, pybtex
7, pybtex-docutils
8, sphinx
9}:
10
11buildPythonPackage rec {
12 version = "2.4.1";
13 pname = "sphinxcontrib-bibtex";
14
15 disabled = !isPy3k;
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "282223309bbaf34cd20a8fe1ba346fe8642f403a8930607e77a8cb08ae81fc5f";
20 };
21
22 propagatedBuildInputs = [ oset pybtex pybtex-docutils sphinx ];
23
24 doCheck = false;
25 pythonImportsCheck = [ "sphinxcontrib.bibtex" ];
26
27 meta = with lib; {
28 description = "A Sphinx extension for BibTeX style citations";
29 homepage = "https://github.com/mcmtroffaes/sphinxcontrib-bibtex";
30 license = licenses.bsd2;
31 maintainers = with maintainers; [ SuperSandro2000 ];
32 };
33}