mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
python3Packages.sphinx-favicon: init at 1.0.1
This commit is contained in:
53
pkgs/development/python-modules/sphinx-favicon/default.nix
Normal file
53
pkgs/development/python-modules/sphinx-favicon/default.nix
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
sphinx,
|
||||
pytestCheckHook,
|
||||
beautifulsoup4,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sphinx-favicon";
|
||||
version = "1.0.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tcmetzger";
|
||||
repo = "sphinx-favicon";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-Arcjj+6WWuSfufh8oqrDyAtjp07j1JEuw2YlmFcfL3U=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
sphinx
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
beautifulsoup4
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# requires network to download favicons
|
||||
"test_list_of_three_icons_automated_values"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "sphinx_favicon" ];
|
||||
|
||||
meta = {
|
||||
description = "Sphinx extension to add custom favicons";
|
||||
homepage = "https://github.com/tcmetzger/sphinx-favicon";
|
||||
changelog = "https://github.com/tcmetzger/sphinx-favicon/blob/v${version}/CHANGELOG";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.newam ];
|
||||
};
|
||||
}
|
||||
@@ -15179,6 +15179,8 @@ self: super: with self; {
|
||||
|
||||
sphinx-external-toc = callPackage ../development/python-modules/sphinx-external-toc { };
|
||||
|
||||
sphinx-favicon = callPackage ../development/python-modules/sphinx-favicon { };
|
||||
|
||||
sphinx-fortran = callPackage ../development/python-modules/sphinx-fortran { };
|
||||
|
||||
sphinx-hoverxref = callPackage ../development/python-modules/sphinx-hoverxref { };
|
||||
|
||||
Reference in New Issue
Block a user