nixpkgs/pkgs/development/python-modules/sphinxcontrib-bibtex/default.nix
2021-06-22 13:42:41 +02:00

34 lines
722 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, oset
, pybtex
, pybtex-docutils
, sphinx
}:
buildPythonPackage rec {
version = "2.3.0";
pname = "sphinxcontrib-bibtex";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1aae1005935ae8e6499750b4ef1c8251a14ba16e025d0c0154fe2b6bf45defc0";
};
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 ];
};
}