From 937e716d4ea11874fdd6381ced8a93f42f4d7273 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Tue, 7 Mar 2023 20:22:05 +0100 Subject: [PATCH 1/3] python3Packages.sphinxext-opengraph: 0.7.5 -> 0.8.1 https://github.com/wpilibsuite/sphinxext-opengraph/releases/tag/V0.8.0 https://github.com/wpilibsuite/sphinxext-opengraph/releases/tag/v0.8.1 --- .../python-modules/sphinxext-opengraph/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sphinxext-opengraph/default.nix b/pkgs/development/python-modules/sphinxext-opengraph/default.nix index 4bf290328821..5058fc82ff88 100644 --- a/pkgs/development/python-modules/sphinxext-opengraph/default.nix +++ b/pkgs/development/python-modules/sphinxext-opengraph/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , fetchFromGitHub , sphinx +, matplotlib , pytestCheckHook , beautifulsoup4 , setuptools-scm @@ -9,13 +10,13 @@ buildPythonPackage rec { pname = "sphinxext-opengraph"; - version = "0.7.5"; + version = "0.8.1"; src = fetchFromGitHub { owner = "wpilibsuite"; repo = "sphinxext-opengraph"; rev = "refs/tags/v${version}"; - hash = "sha256-fNtXj7iYX7rSaGO6JcxC+PvR8WzTFl8gYwHyRExYdfI="; + hash = "sha256-3q/OKkLtyA1Dw2PfTT4Fmzyn5qPbjprekpE7ItnFNUo="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; @@ -26,6 +27,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ sphinx + matplotlib ]; nativeCheckInputs = [ From 41ec7e2fefb0c3b8942cbfc47e579a052bdc5c49 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 8 Mar 2023 08:06:25 +0100 Subject: [PATCH 2/3] python3Packages.sphinxext-opengraph: add changelog to meta --- pkgs/development/python-modules/sphinxext-opengraph/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/sphinxext-opengraph/default.nix b/pkgs/development/python-modules/sphinxext-opengraph/default.nix index 5058fc82ff88..7fd4973c0ed4 100644 --- a/pkgs/development/python-modules/sphinxext-opengraph/default.nix +++ b/pkgs/development/python-modules/sphinxext-opengraph/default.nix @@ -40,6 +40,7 @@ buildPythonPackage rec { meta = with lib; { description = "Sphinx extension to generate unique OpenGraph metadata"; homepage = "https://github.com/wpilibsuite/sphinxext-opengraph"; + changelog = "https://github.com/wpilibsuite/sphinxext-opengraph/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ Luflosi ]; }; From 2a508fbf2c3bfd4130d7390b6ff9b1b29ccbbc44 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 8 Mar 2023 08:43:59 +0100 Subject: [PATCH 3/3] python310Packages.sphinxext-opengraph: disable on unsupported Python releases --- .../python-modules/sphinxext-opengraph/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/sphinxext-opengraph/default.nix b/pkgs/development/python-modules/sphinxext-opengraph/default.nix index 7fd4973c0ed4..4109e513dd35 100644 --- a/pkgs/development/python-modules/sphinxext-opengraph/default.nix +++ b/pkgs/development/python-modules/sphinxext-opengraph/default.nix @@ -4,6 +4,7 @@ , sphinx , matplotlib , pytestCheckHook +, pythonOlder , beautifulsoup4 , setuptools-scm }: @@ -11,6 +12,9 @@ buildPythonPackage rec { pname = "sphinxext-opengraph"; version = "0.8.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "wpilibsuite";