Merge pull request #178550 from Luflosi/update/python3Packages.furo

python3Packages.furo: 2022.4.7 -> 2022.6.21
This commit is contained in:
Fabian Affolter 2022-06-22 18:38:28 +02:00 committed by GitHub
commit 82a3daee55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 50 additions and 2 deletions

View File

@ -4,11 +4,12 @@
, fetchPypi
, sphinx
, beautifulsoup4
, sphinx-basic-ng
}:
buildPythonPackage rec {
pname = "furo";
version = "2022.4.7";
version = "2022.6.21";
format = "wheel";
disable = pythonOlder "3.6";
@ -16,12 +17,13 @@ buildPythonPackage rec {
inherit pname version format;
dist = "py3";
python = "py3";
sha256 = "sha256-fz49L7l3SDWQ+Oyyws1RG9gmYbecGO+yTelVi8nN8tc=";
sha256 = "sha256-Bhto4yM0Xif8ugJM8zoed/Pf2NmYdBC+gidJpwbirdY=";
};
propagatedBuildInputs = [
sphinx
beautifulsoup4
sphinx-basic-ng
];
installCheckPhase = ''

View File

@ -0,0 +1,44 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, fetchpatch
, sphinx
}:
buildPythonPackage rec {
pname = "sphinx-basic-ng";
version = "0.0.1.a11";
disable = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pradyunsg";
repo = "sphinx-basic-ng";
rev = version;
sha256 = "sha256-Eur3CadC2NTuBXosG4SN9t2L0qkqN+Q79bcvhvlG/f8=";
};
patches = [
(fetchpatch {
name = "fix-import-error.patch";
url = "https://github.com/pradyunsg/sphinx-basic-ng/pull/32/commits/323a0085721b908aa11bc3c36c51e16f517ee023.patch";
sha256 = "sha256-/G1wLG/08u2s3YENSKSYekLrV1fUkxDAlxc3crTQNHk=";
})
];
propagatedBuildInputs = [
sphinx
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "sphinx_basic_ng" ];
meta = with lib; {
description = "A modernised skeleton for Sphinx themes";
homepage = "https://sphinx-basic-ng.readthedocs.io/en/latest/";
license = licenses.mit;
maintainers = with maintainers; [ Luflosi ];
};
}

View File

@ -10014,6 +10014,8 @@ in {
sphinx-autobuild = callPackage ../development/python-modules/sphinx-autobuild { };
sphinx-basic-ng = callPackage ../development/python-modules/sphinx-basic-ng { };
sphinx-copybutton = callPackage ../development/python-modules/sphinx-copybutton { };
sphinx-inline-tabs = callPackage ../development/python-modules/sphinx-inline-tabs { };