Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, buildPythonPackage, fetchPypi, isPy3k
2, oset, pybtex, pybtex-docutils, sphinx
3}:
4
5buildPythonPackage rec {
6 version = "1.0.0";
7 pname = "sphinxcontrib-bibtex";
8
9 disabled = !isPy3k;
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "629612b001f86784669d65e662377a482052decfd9a0a17c46860878eef7b9e0";
14 };
15
16 propagatedBuildInputs = [ oset pybtex pybtex-docutils sphinx ];
17
18 meta = {
19 description = "A Sphinx extension for BibTeX style citations";
20 homepage = "https://github.com/mcmtroffaes/sphinxcontrib-bibtex";
21 license = stdenv.lib.licenses.bsd2;
22 };
23
24}