lol

python3Packages.sphinx-favicon: init at 1.0.1

+55
+53
pkgs/development/python-modules/sphinx-favicon/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + setuptools, 6 + sphinx, 7 + pytestCheckHook, 8 + beautifulsoup4, 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "sphinx-favicon"; 13 + version = "1.0.1"; 14 + pyproject = true; 15 + 16 + src = fetchFromGitHub { 17 + owner = "tcmetzger"; 18 + repo = "sphinx-favicon"; 19 + tag = "v${version}"; 20 + hash = "sha256-Arcjj+6WWuSfufh8oqrDyAtjp07j1JEuw2YlmFcfL3U="; 21 + }; 22 + 23 + build-system = [ 24 + setuptools 25 + ]; 26 + 27 + dependencies = [ 28 + sphinx 29 + ]; 30 + 31 + nativeCheckInputs = [ 32 + pytestCheckHook 33 + ]; 34 + 35 + checkInputs = [ 36 + beautifulsoup4 37 + ]; 38 + 39 + disabledTests = [ 40 + # requires network to download favicons 41 + "test_list_of_three_icons_automated_values" 42 + ]; 43 + 44 + pythonImportsCheck = [ "sphinx_favicon" ]; 45 + 46 + meta = { 47 + description = "Sphinx extension to add custom favicons"; 48 + homepage = "https://github.com/tcmetzger/sphinx-favicon"; 49 + changelog = "https://github.com/tcmetzger/sphinx-favicon/blob/v${version}/CHANGELOG"; 50 + license = lib.licenses.mit; 51 + maintainers = [ lib.maintainers.newam ]; 52 + }; 53 + }
+2
pkgs/top-level/python-packages.nix
··· 15179 15179 15180 15180 sphinx-external-toc = callPackage ../development/python-modules/sphinx-external-toc { }; 15181 15181 15182 + sphinx-favicon = callPackage ../development/python-modules/sphinx-favicon { }; 15183 + 15182 15184 sphinx-fortran = callPackage ../development/python-modules/sphinx-fortran { }; 15183 15185 15184 15186 sphinx-hoverxref = callPackage ../development/python-modules/sphinx-hoverxref { };