From ec1f6857a12475f620e374bb3042d4881abfbc78 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 03:31:09 +0000 Subject: [PATCH 1/2] python312Packages.pubnub: 7.4.3 -> 7.4.4 --- pkgs/development/python-modules/pubnub/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pubnub/default.nix b/pkgs/development/python-modules/pubnub/default.nix index b6437f880ddb..27528167c30d 100644 --- a/pkgs/development/python-modules/pubnub/default.nix +++ b/pkgs/development/python-modules/pubnub/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "pubnub"; - version = "7.4.3"; + version = "7.4.4"; pyproject = true; disabled = pythonOlder "3.7"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = pname; repo = "python"; rev = "refs/tags/v${version}"; - hash = "sha256-t3lNotfT3C2hv5AGPWZpL3wN68m8HRcjsccUz8QcY5I="; + hash = "sha256-4Paodw3t2RvAKrDMcWHIGLs5JNtH/9sP+BTyAm/hj4E="; }; build-system = [ From cf6c4e59fb5715a44735f53da8c8ab806538b6c8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 08:07:18 +0200 Subject: [PATCH 2/2] python312Packages.pubnub: format with nixfmt --- .../python-modules/pubnub/default.nix | 37 +++++++++---------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/pkgs/development/python-modules/pubnub/default.nix b/pkgs/development/python-modules/pubnub/default.nix index 27528167c30d..58b6bd159d50 100644 --- a/pkgs/development/python-modules/pubnub/default.nix +++ b/pkgs/development/python-modules/pubnub/default.nix @@ -1,16 +1,17 @@ -{ lib -, aiohttp -, buildPythonPackage -, busypie -, cbor2 -, fetchFromGitHub -, pycryptodomex -, pytestCheckHook -, pytest-vcr -, pytest-asyncio -, requests -, pythonOlder -, setuptools +{ + lib, + aiohttp, + buildPythonPackage, + busypie, + cbor2, + fetchFromGitHub, + pycryptodomex, + pytestCheckHook, + pytest-vcr, + pytest-asyncio, + requests, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -21,15 +22,13 @@ buildPythonPackage rec { disabled = pythonOlder "3.7"; src = fetchFromGitHub { - owner = pname; + owner = "pubnub"; repo = "python"; rev = "refs/tags/v${version}"; hash = "sha256-4Paodw3t2RvAKrDMcWHIGLs5JNtH/9sP+BTyAm/hj4E="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ aiohttp @@ -57,9 +56,7 @@ buildPythonPackage rec { "test_handshaking" ]; - pythonImportsCheck = [ - "pubnub" - ]; + pythonImportsCheck = [ "pubnub" ]; meta = with lib; { description = "Python-based APIs for PubNub";