nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy3k
5, oset
6, pybtex
7, pybtex-docutils
8, sphinx
9}:
10
11buildPythonPackage rec {
12 version = "2.2.0";
13 pname = "sphinxcontrib-bibtex";
14
15 disabled = !isPy3k;
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "7500843e154d76983c23bca5ca7380965e0725c46b8f484c1322d0b58a6ce3b2";
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}