Unverified Commit 6fe27cdb authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #277197 from SuperSandro2000/py-zlib-ng

 python311Packages.aiohttp-zlib-ng: 0.1.2 -> 0.1.3,  python311Packages.zlib-ng: 0.2.0 -> 0.4.0 
parents a1422a7f 6eb2e91a
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
{ lib
, stdenv
, aiohttp
, buildPythonPackage
, cpufeature
, fetchFromGitHub
, poetry-core
, pytestCheckHook
@@ -12,7 +10,7 @@

buildPythonPackage rec {
  pname = "aiohttp-zlib-ng";
  version = "0.1.2";
  version = "0.1.3";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -21,7 +19,7 @@ buildPythonPackage rec {
    owner = "bdraco";
    repo = "aiohttp-zlib-ng";
    rev = "refs/tags/v${version}";
    hash = "sha256-lSzBmEgYrWKthpgceFn9LjsNw/ByPOrdPwVI8WU0Cvo=";
    hash = "sha256-t7T3KIGId5CoBciSkwu/sejW45i2EYtq1fHvNKNXlhA=";
  };

  postPatch = ''
@@ -36,7 +34,7 @@ buildPythonPackage rec {
  propagatedBuildInputs = [
    aiohttp
    zlib-ng
  ] ++ lib.optional (lib.meta.availableOn stdenv.hostPlatform cpufeature) cpufeature;
  ];

  nativeCheckInputs = [
    pytestCheckHook
+2 −2
Original line number Diff line number Diff line
@@ -15,14 +15,14 @@

buildPythonPackage rec {
  pname = "zlib-ng";
  version = "0.2.0";
  version = "0.4.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "pycompression";
    repo = "python-zlib-ng";
    rev = "v${version}";
    hash = "sha256-dZnX94SOuV1/zTYUecnRe6DDKf5nAvydHn7gESVQ6hs=";
    hash = "sha256-bVdt4GYdbzhoT6et+LOycg0Bt6dX9DtusNr8HPpgIFI=";
  };

  nativeBuildInputs = [