2021-01-17 00:15:33 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
|
|
|
, oset
|
|
|
|
, pybtex
|
|
|
|
, pybtex-docutils
|
|
|
|
, sphinx
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "2.1.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "sphinxcontrib-bibtex";
|
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "f53ec0cd534d2c8f0a51b4b3473ced46e9cb0dd99a7c5019249fe0ef9cbef18e";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ oset pybtex pybtex-docutils sphinx ];
|
|
|
|
|
2021-01-17 00:15:33 +00:00
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "sphinxcontrib.bibtex" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A Sphinx extension for BibTeX style citations";
|
|
|
|
homepage = "https://github.com/mcmtroffaes/sphinxcontrib-bibtex";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|