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:
parent
2970fdaefa
commit
1dac9db7fd
@ -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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user