Commit 1dac9db7 authored by Florian Brandes's avatar Florian Brandes
Browse files

python3Packages.sphinxcontrib-youtube: init at 1.2.0

parent 2970fdae
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, sphinx
, requests
, flit-core
}:

buildPythonPackage rec {
  pname = "sphinxcontrib-youtube";
  version = "1.2.0";
  format = "pyproject";

  nativeBuildInputs = [ flit-core ];

  src = fetchFromGitHub {
    owner = "sphinx-contrib";
    repo = "youtube";
    rev = "v${version}";
    hash = "sha256-SUnnrzYJ6cOktE0IdnRWTvPGcL/eVS9obtHBMpS2s4A=";
  };

  propagatedBuildInputs = [ sphinx requests ];

  # tests require internet access
  doCheck = false;

  pythonImportsCheck = [ "sphinxcontrib.youtube" ];

  meta = with lib; {
    description = "Youtube extension for Sphinx";
    homepage = "https://github.com/sphinx-contrib/youtube";
    maintainers = with maintainers; [ gador ];
    license = licenses.bsd3;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -10865,6 +10865,8 @@ self: super: with self; {

  sphinxcontrib-websupport = callPackage ../development/python-modules/sphinxcontrib-websupport { };

  sphinxcontrib-youtube = callPackage ../development/python-modules/sphinxcontrib-youtube { };
  
  sphinx = callPackage ../development/python-modules/sphinx { };

  sphinx-argparse = callPackage ../development/python-modules/sphinx-argparse { };