From 355f9261eb7068889f7d60d4738f93716963f2d9 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 28 Oct 2023 04:20:00 +0000 Subject: [PATCH] python311Packages.sphinx-thebe: 0.2.1 -> 0.3.0 Diff: https://github.com/executablebooks/sphinx-thebe/compare/v0.2.1...v0.3.0 Changelog: https://github.com/executablebooks/sphinx-thebe/releases/tag/v0.3.0 --- .../python-modules/sphinx-thebe/default.nix | 29 ++++++++++++++----- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/sphinx-thebe/default.nix b/pkgs/development/python-modules/sphinx-thebe/default.nix index d2e05c755a25..d6d150d6e92b 100644 --- a/pkgs/development/python-modules/sphinx-thebe/default.nix +++ b/pkgs/development/python-modules/sphinx-thebe/default.nix @@ -1,29 +1,42 @@ { lib , buildPythonPackage -, pythonOlder , fetchPypi +, hatch-vcs +, hatchling +, pythonOlder , sphinx }: buildPythonPackage rec { pname = "sphinx-thebe"; - version = "0.2.1"; - format = "pyproject"; + version = "0.3.0"; + pyproject = true; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.8"; src = fetchPypi { - inherit pname version; - sha256 = "f4c8c1542054f991b73fcb28c4cf21697e42aba2f83f22348c1c851b82766583"; + inherit version; + pname = "sphinx_thebe"; + hash = "sha256-xg2rG1m5LWouq41xGeh8BzBHDaYvPIS/bKdWkEh9BQU="; }; - propagatedBuildInputs = [ sphinx ]; + nativeBuildInputs = [ + hatch-vcs + hatchling + ]; - pythonImportsCheck = [ "sphinx_thebe" ]; + propagatedBuildInputs = [ + sphinx + ]; + + pythonImportsCheck = [ + "sphinx_thebe" + ]; meta = with lib; { description = "Integrate interactive code blocks into your documentation with Thebe and Binder"; homepage = "https://github.com/executablebooks/sphinx-thebe"; + changelog = "https://github.com/executablebooks/sphinx-thebe/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ marsam ]; };