bba55970ba
GitOrigin-RevId: 3d1a7716d7f1fccbd7d30ab3b2ed3db831f43bde
33 lines
709 B
Nix
33 lines
709 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
, oset
|
|
, pybtex
|
|
, pybtex-docutils
|
|
, sphinx
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "2.2.0";
|
|
pname = "sphinxcontrib-bibtex";
|
|
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-dQCEPhVNdpg8I7ylynOAll4HJcRrj0hMEyLQtYps47I=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|