depot/third_party/nixpkgs/pkgs/development/python-modules/sphinxcontrib-bibtex/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

44 lines
799 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, oset
, pybtex
, pybtex-docutils
, sphinx
}:
buildPythonPackage rec {
pname = "sphinxcontrib-bibtex";
version = "2.6.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-9IevaUM28ov7fWoXBwlTp9JkvsQwAKI3lyQnT1+NcK4=";
};
propagatedBuildInputs = [
oset
pybtex
pybtex-docutils
sphinx
];
doCheck = false;
pythonImportsCheck = [
"sphinxcontrib.bibtex"
];
pythonNamespaces = [ "sphinxcontrib" ];
meta = with lib; {
description = "A Sphinx extension for BibTeX style citations";
homepage = "https://github.com/mcmtroffaes/sphinxcontrib-bibtex";
license = licenses.bsd2;
maintainers = with maintainers; [ ];
};
}