nixpkgs/pkgs/development/python-modules/sphinxcontrib-youtube/default.nix
Florian Brandes 1dac9db7fd 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>
2023-02-03 12:29:13 +01:00

37 lines
769 B
Nix

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