2021-01-17 00:15:33 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2022-04-15 01:41:22 +00:00
|
|
|
, pythonOlder
|
2021-01-17 00:15:33 +00:00
|
|
|
, oset
|
|
|
|
, pybtex
|
|
|
|
, pybtex-docutils
|
|
|
|
, sphinx
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinxcontrib-bibtex";
|
2022-04-15 01:41:22 +00:00
|
|
|
version = "2.4.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-04-15 01:41:22 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
2020-05-15 21:57:56 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-04-15 01:41:22 +00:00
|
|
|
hash = "sha256-ZbAj7kfzXx8DrE1xyCTmfGJMfsrBuyboNiMnGgH52oY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-04-15 01:41:22 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
oset
|
|
|
|
pybtex
|
|
|
|
pybtex-docutils
|
|
|
|
sphinx
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-17 00:15:33 +00:00
|
|
|
doCheck = false;
|
2022-04-15 01:41:22 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"sphinxcontrib.bibtex"
|
|
|
|
];
|
2021-01-17 00:15:33 +00:00
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|