Unverified Commit 5e0ada0c authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #332065 from fabaff/yalexs-bump

python312Packages.yalexs: 6.4.2 -> 6.4.3
parents f1e86aca 0390b75d
Loading
Loading
Loading
Loading
+60 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  aiohttp,
  cbor2,
  pycryptodomex,
  busypie,
  pytest-asyncio,
  pytest-vcr,
  pytestCheckHook,
  requests,
  pythonOlder,
}:

buildPythonPackage rec {
  pname = "freenub";
  version = "0.1.0";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "bdraco";
    repo = "freenub";
    rev = "refs/tags/v${version}";
    hash = "sha256-UkW/7KUQ4uCu3cxDSL+kw0gjKjs4KnmxRIOLVP4hwyA=";
  };

  postPatch = ''
    sed -i "/--cov/d" pyproject.toml
  '';

  build-system = [ poetry-core ];

  dependencies = [
    aiohttp
    cbor2
    pycryptodomex
    requests
  ];

  nativeCheckInputs = [
    busypie
    pytest-asyncio
    pytest-vcr
    pytestCheckHook
  ];

  pythonImportsCheck = [ "pubnub" ];

  meta = with lib; {
    description = "Fork of pubnub";
    homepage = "https://github.com/bdraco/freenub";
    changelog = "https://github.com/bdraco/freenub/blob/${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}
+6 −6
Original line number Diff line number Diff line
@@ -7,20 +7,20 @@
  buildPythonPackage,
  ciso8601,
  fetchFromGitHub,
  pubnub,
  freenub,
  poetry-core,
  pyjwt,
  pytestCheckHook,
  python-dateutil,
  pythonOlder,
  requests,
  requests-mock,
  poetry-core,
  requests,
  typing-extensions,
}:

buildPythonPackage rec {
  pname = "yalexs";
  version = "6.4.2";
  version = "6.4.3";
  pyproject = true;

  disabled = pythonOlder "3.9";
@@ -29,7 +29,7 @@ buildPythonPackage rec {
    owner = "bdraco";
    repo = "yalexs";
    rev = "refs/tags/v${version}";
    hash = "sha256-0EvQj+aKzpnehvI5IS3DBaJOp4wYpAWwkkaOLgwtdJs=";
    hash = "sha256-LfK5xh1MBoWD3/Ae2Hxx0dOFoBkRZUqfudrleXluGzk=";
  };

  postPatch = ''
@@ -43,7 +43,7 @@ buildPythonPackage rec {
    aiofiles
    aiohttp
    ciso8601
    pubnub
    freenub
    pyjwt
    python-dateutil
    requests
+2 −0
Original line number Diff line number Diff line
@@ -4597,6 +4597,8 @@ self: super: with self; {
  free-proxy = callPackage ../development/python-modules/free-proxy { };
  freenub = callPackage ../development/python-modules/freenub { };
  skia-pathops = callPackage ../development/python-modules/skia-pathops {
    inherit (pkgs.darwin.apple_sdk.frameworks) ApplicationServices OpenGL;
  };