depot/third_party/nixpkgs/pkgs/development/python-modules/sphinxcontrib-bibtex/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

41 lines
731 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, oset
, pybtex
, pybtex-docutils
, sphinx
}:
buildPythonPackage rec {
pname = "sphinxcontrib-bibtex";
version = "2.5.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-cbQuXbDi4oTyQ4dTJr+ZNqqadjKCJ311BIgm/vWwDqo=";
};
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; [ ];
};
}