diff --git a/pkgs/development/python-modules/sphinxext-opengraph/default.nix b/pkgs/development/python-modules/sphinxext-opengraph/default.nix index 4bf290328821..4109e513dd35 100644 --- a/pkgs/development/python-modules/sphinxext-opengraph/default.nix +++ b/pkgs/development/python-modules/sphinxext-opengraph/default.nix @@ -2,20 +2,25 @@ , buildPythonPackage , fetchFromGitHub , sphinx +, matplotlib , pytestCheckHook +, pythonOlder , beautifulsoup4 , setuptools-scm }: buildPythonPackage rec { pname = "sphinxext-opengraph"; - version = "0.7.5"; + version = "0.8.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; 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 +31,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ sphinx + matplotlib ]; nativeCheckInputs = [ @@ -38,6 +44,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 ]; };