Commit 07b5a5d7 authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent aedbfbb6
Loading
Loading
Loading
Loading
+13 −7
Original line number Diff line number Diff line
@@ -5,18 +5,20 @@
  busypie,
  cbor2,
  fetchFromGitHub,
  h2,
  httpx,
  pycryptodomex,
  pytestCheckHook,
  pytest-vcr,
  pytest-asyncio,
  requests,
  pytest-vcr,
  pytestCheckHook,
  pythonOlder,
  requests,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pubnub";
  version = "9.1.0";
  version = "10.1.0";
  pyproject = true;

  disabled = pythonOlder "3.7";
@@ -24,15 +26,19 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "pubnub";
    repo = "python";
    tag = "v${version}";
    hash = "sha256-aVnhCRTm6lqwec4TRbvHFF4l/XvbBTbclJLxf7oyUak=";
    tag = version;
    hash = "sha256-8CASMWTDeIi+UgScZk8R5kWN7Qsu8Bx5JChAFoPQ7iw=";
  };

  pythonRelaxDeps = [ "httpx" ];

  build-system = [ setuptools ];

  dependencies = [
    aiohttp
    cbor2
    h2
    httpx
    pycryptodomex
    requests
  ];
@@ -61,7 +67,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Python-based APIs for PubNub";
    homepage = "https://github.com/pubnub/python";
    changelog = "https://github.com/pubnub/python/releases/tag/v${version}";
    changelog = "https://github.com/pubnub/python/releases/tag/${version}";
    # PubNub Software Development Kit License Agreement
    # https://github.com/pubnub/python/blob/master/LICENSE
    license = licenses.unfreeRedistributable;