From abcc043ec4b9c9b49cff18d7e08c1d10faf83518 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Wed, 15 Dec 2021 20:45:57 +0100 Subject: [PATCH 1/2] python3Packages.sphinxext-opengraph: enable tests --- .../python-modules/sphinxext-opengraph/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/sphinxext-opengraph/default.nix b/pkgs/development/python-modules/sphinxext-opengraph/default.nix index 08a87a2f7c02..ea348aece09e 100644 --- a/pkgs/development/python-modules/sphinxext-opengraph/default.nix +++ b/pkgs/development/python-modules/sphinxext-opengraph/default.nix @@ -2,6 +2,8 @@ , buildPythonPackage , fetchFromGitHub , sphinx +, pytestCheckHook +, beautifulsoup4 }: buildPythonPackage rec { @@ -19,7 +21,10 @@ buildPythonPackage rec { sphinx ]; - doCheck = false; # no tests + checkInputs = [ + pytestCheckHook + beautifulsoup4 + ]; pythonImportsCheck = [ "sphinxext.opengraph" ]; From e9832d5836fcfa0d3ef1fd1672fa4bd1196ce56e Mon Sep 17 00:00:00 2001 From: Luflosi Date: Wed, 15 Dec 2021 20:46:16 +0100 Subject: [PATCH 2/2] python3Packages.sphinxext-opengraph: 0.4.2 -> 0.5.1 https://github.com/wpilibsuite/sphinxext-opengraph/releases/tag/v0.5.1 --- .../python-modules/sphinxext-opengraph/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sphinxext-opengraph/default.nix b/pkgs/development/python-modules/sphinxext-opengraph/default.nix index ea348aece09e..8b8cb4cdbb53 100644 --- a/pkgs/development/python-modules/sphinxext-opengraph/default.nix +++ b/pkgs/development/python-modules/sphinxext-opengraph/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "sphinxext-opengraph"; - version = "0.4.2"; + version = "0.5.1"; src = fetchFromGitHub { owner = "wpilibsuite"; repo = "sphinxext-opengraph"; rev = "v${version}"; - sha256 = "sha256-978aPtaqUDHcswDdFynzi+IjDYaBmCZDZk+dmDkhajY="; + sha256 = "sha256-US0UXxcTlN7x5v2ilpL+umTr7tadqthqhvfaQnm7tCc="; }; propagatedBuildInputs = [