From 096d6e88cef519f642d7e22eef6ab9a3305de476 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 1 May 2022 12:22:24 +0000 Subject: [PATCH 1/3] python310Packages.sphinxcontrib-spelling: 7.3.2 -> 7.3.3 --- .../python-modules/sphinxcontrib-spelling/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix b/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix index 6239ba0bc83c..8af7b8b50029 100644 --- a/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix @@ -10,11 +10,11 @@ buildPythonPackage rec { pname = "sphinxcontrib-spelling"; - version = "7.3.2"; + version = "7.3.3"; src = fetchPypi { inherit pname version; - sha256 = "9d66dc4990749c5ac52e7eaf17e82f4dc6b4aff6515d26bbf48821829d41bd02"; + sha256 = "sha256-OBnRJinZXgyQkiT6QLRipn4K2zIdUCg9f8DRFobIrH4="; }; propagatedBuildInputs = [ sphinx pyenchant pbr ] From 5561de6b331d5f2d3c57dc5ca41807fb0b1e719d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 1 May 2022 22:27:33 +0200 Subject: [PATCH 2/3] python310Packages.sphinxcontrib-spelling: add pythonImportsCheck --- .../sphinxcontrib-spelling/default.nix | 27 ++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix b/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix index 8af7b8b50029..4e91f1944bdc 100644 --- a/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix @@ -6,28 +6,43 @@ , sphinx , pyenchant , pbr +, pythonOlder }: buildPythonPackage rec { pname = "sphinxcontrib-spelling"; version = "7.3.3"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-OBnRJinZXgyQkiT6QLRipn4K2zIdUCg9f8DRFobIrH4="; + hash = "sha256-OBnRJinZXgyQkiT6QLRipn4K2zIdUCg9f8DRFobIrH4="; }; - propagatedBuildInputs = [ sphinx pyenchant pbr ] - ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; + nativeBuildInputs = [ + pbr + ]; + + propagatedBuildInputs = [ + sphinx + pyenchant + ] ++ lib.optionals (pythonOlder "3.8") [ + importlib-metadata + ]; # No tests included doCheck = false; + pythonImportsCheck = [ + "sphinxcontrib.spelling" + ]; + meta = with lib; { description = "Sphinx spelling extension"; - homepage = "https://bitbucket.org/dhellmann/sphinxcontrib-spelling"; - maintainers = with maintainers; [ ]; + homepage = "https://github.com/sphinx-contrib/spelling"; license = licenses.bsd2; + maintainers = with maintainers; [ ]; }; - } From 40cb2223667542f4f8961ef8517b18de9370beca Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 1 May 2022 22:46:50 +0200 Subject: [PATCH 3/3] python310Packages.sphinxcontrib-spelling: update inputs --- .../python-modules/sphinxcontrib-spelling/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix b/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix index 4e91f1944bdc..0a0c0ec6ddeb 100644 --- a/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix @@ -6,7 +6,6 @@ , sphinx , pyenchant , pbr -, pythonOlder }: buildPythonPackage rec {