2021-01-16 13:08:47 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
|
|
|
, oset
|
|
|
|
, pybtex
|
|
|
|
, pybtex-docutils
|
|
|
|
, sphinx
|
2018-03-07 19:40:54 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-03-24 09:28:29 +00:00
|
|
|
version = "2.2.0";
|
2018-03-07 19:40:54 +00:00
|
|
|
pname = "sphinxcontrib-bibtex";
|
|
|
|
|
2020-05-15 11:39:39 +01:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2018-03-07 19:40:54 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:29 +00:00
|
|
|
sha256 = "7500843e154d76983c23bca5ca7380965e0725c46b8f484c1322d0b58a6ce3b2";
|
2018-03-07 19:40:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ oset pybtex pybtex-docutils sphinx ];
|
|
|
|
|
2021-01-16 13:08:47 +00:00
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "sphinxcontrib.bibtex" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2018-03-07 19:40:54 +00:00
|
|
|
description = "A Sphinx extension for BibTeX style citations";
|
|
|
|
homepage = "https://github.com/mcmtroffaes/sphinxcontrib-bibtex";
|
2021-01-16 13:08:47 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2018-03-07 19:40:54 +00:00
|
|
|
};
|
|
|
|
}
|