depot/third_party/nixpkgs/pkgs/development/python-modules/sphinxcontrib-bibtex/default.nix
Default email bb584b27e9 Project import generated by Copybara.
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
2022-04-15 03:41:22 +02:00

41 lines
747 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, oset
, pybtex
, pybtex-docutils
, sphinx
}:
buildPythonPackage rec {
pname = "sphinxcontrib-bibtex";
version = "2.4.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-ZbAj7kfzXx8DrE1xyCTmfGJMfsrBuyboNiMnGgH52oY=";
};
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 ];
};
}