fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
42 lines
840 B
Nix
42 lines
840 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
sphinx,
|
|
requests,
|
|
flit-core,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sphinxcontrib-youtube";
|
|
version = "1.4.1";
|
|
format = "pyproject";
|
|
|
|
nativeBuildInputs = [ flit-core ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sphinx-contrib";
|
|
repo = "youtube";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-XuOfZ77tg9akmgTuMQN20OhgkFbn/6YzT46vpTsXxC8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
sphinx
|
|
requests
|
|
];
|
|
|
|
# tests require internet access
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "sphinxcontrib.youtube" ];
|
|
|
|
pythonNamespaces = [ "sphinxcontrib" ];
|
|
|
|
meta = with lib; {
|
|
description = "Youtube extension for Sphinx";
|
|
homepage = "https://github.com/sphinx-contrib/youtube";
|
|
maintainers = with maintainers; [ gador ];
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|