python3Packages.sphinxcontrib-youtube: init at 1.2.0

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Florian Brandes 2023-01-26 15:11:14 +01:00
parent 2970fdaefa
commit 1dac9db7fd
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ 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;
};
}

View File

@ -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 { };