33 lines
722 B
Nix
33 lines
722 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
, oset
|
|
, pybtex
|
|
, pybtex-docutils
|
|
, sphinx
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.0.0";
|
|
pname = "sphinxcontrib-bibtex";
|
|
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "629612b001f86784669d65e662377a482052decfd9a0a17c46860878eef7b9e0";
|
|
};
|
|
|
|
propagatedBuildInputs = [ oset pybtex pybtex-docutils sphinx ];
|
|
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "sphinxcontrib.bibtex" ];
|
|
|
|
meta = with lib; {
|
|
description = "A Sphinx extension for BibTeX style citations";
|
|
homepage = "https://github.com/mcmtroffaes/sphinxcontrib-bibtex";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|