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-02-02 21:45:17 +00:00
|
|
|
version = "2.1.4";
|
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-02-02 21:45:17 +00:00
|
|
|
sha256 = "f53ec0cd534d2c8f0a51b4b3473ced46e9cb0dd99a7c5019249fe0ef9cbef18e";
|
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
|
|
|
};
|
|
|
|
}
|