From d01094d95c994810a003fa321b0a49daf1ade140 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 9 Sep 2023 10:01:19 +0200 Subject: [PATCH] python311Packages.pydiscourse: 1.4.0 -> 1.6.1 Diff: https://github.com/pydiscourse/pydiscourse/compare/refs/tags/v1.4.0...v1.6.1 Changelog: https://github.com/pydiscourse/pydiscourse/releases/tag/v1.6.1 --- .../python-modules/pydiscourse/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pydiscourse/default.nix b/pkgs/development/python-modules/pydiscourse/default.nix index d17c719196e1..f897509c182e 100644 --- a/pkgs/development/python-modules/pydiscourse/default.nix +++ b/pkgs/development/python-modules/pydiscourse/default.nix @@ -1,14 +1,16 @@ { lib , buildPythonPackage , fetchFromGitHub +, pytest-mock +, pytestCheckHook , pythonOlder , requests -, unittestCheckHook +, requests-mock }: buildPythonPackage rec { pname = "pydiscourse"; - version = "1.4.0"; + version = "1.6.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -17,7 +19,7 @@ buildPythonPackage rec { owner = "pydiscourse"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-peDkXRcD/ieWYWXqv8hPxTSNRXBHcb/3sj/JJSF2RYg="; + hash = "sha256-BvVKOfc/PiAnkEnH5jsd8/0owr+ZvJIz/tpZx6K0fP0="; }; propagatedBuildInputs = [ @@ -25,7 +27,9 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - unittestCheckHook + pytest-mock + pytestCheckHook + requests-mock ]; pythonImportsCheck = [