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";