Commit 175c714a authored by Martin Weinelt's avatar Martin Weinelt
Browse files

Revert "python3Packages.localstack-ext: 2.3.2 -> 3.0.2"

This reverts commit e0c19182.
parent 3db1aaef
Loading
Loading
Loading
Loading
+10 −34
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi

# build-system
, setuptools
, plux

# dependencies
, cachetools
, click
, cryptography
, dill
, dnslib
, dnspython
, psutil
, python-dotenv
, pyyaml
, plux
, pyaes
, python-jose
, requests
, rich
, semver
, stevedore
, tailer
, tabulate

# Sensitive downstream dependencies
, localstack
@@ -28,12 +16,12 @@

buildPythonPackage rec {
  pname = "localstack-ext";
  version = "3.0.2";
  pyproject = true;
  version = "2.3.2";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-KNM/HjSWVwenLqtXbaRP70k7b7YXk//aKGEkBxPp1fA=";
    hash = "sha256-Ex5ZPlteDaiyex90QumucVdTTbpp9uWiBrvw1kMr++8=";
  };

  postPatch = ''
@@ -50,27 +38,15 @@ buildPythonPackage rec {
      --replace "requests>=2.20.0,<2.26" "requests~=2.20"
  '';

  nativeBuildInputs = [
    plux
    setuptools
  ];

  propagatedBuildInputs = [
    cachetools
    click
    cryptography
    dill
    dnslib
    dnspython
    plux
    psutil
    python-dotenv
    pyyaml
    rich
    pyaes
    python-jose
    requests
    semver
    stevedore
    tailer
    tabulate
  ];

  pythonImportsCheck = [ "localstack_ext" ];