nixpkgs/pkgs/development/python-modules/sphinxcontrib-bibtex/default.nix

25 lines
593 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi, isPy3k
, oset, pybtex, pybtex-docutils, sphinx
}:
buildPythonPackage rec {
version = "1.0.0";
pname = "sphinxcontrib-bibtex";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "629612b001f86784669d65e662377a482052decfd9a0a17c46860878eef7b9e0";
};
propagatedBuildInputs = [ oset pybtex pybtex-docutils sphinx ];
meta = {
description = "A Sphinx extension for BibTeX style citations";
homepage = "https://github.com/mcmtroffaes/sphinxcontrib-bibtex";
license = stdenv.lib.licenses.bsd2;
};
}