Unverified Commit 0693db9d authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

awscli2: 2.31.11 -> 2.31.39 (#463079)

parents 3e4b8116 0d08c5b4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -73,14 +73,14 @@ let
in
py.pkgs.buildPythonApplication rec {
  pname = "awscli2";
  version = "2.31.11"; # N.B: if you change this, check if overrides are still up-to-date
  version = "2.31.39"; # N.B: if you change this, check if overrides are still up-to-date
  pyproject = true;

  src = fetchFromGitHub {
    owner = "aws";
    repo = "aws-cli";
    tag = version;
    hash = "sha256-JyTL3q8MMKSKbNiJvBL3u7vpUNFt9rp2Ueh8mL9FRkM=";
    hash = "sha256-IuOamzLmnU3wIhgQIsWbU6GSRM2XLv0eH0gezp9IHNA=";
  };

  postPatch = ''
+4 −2
Original line number Diff line number Diff line
@@ -11,20 +11,22 @@

buildPythonPackage rec {
  pname = "awscrt";
  version = "0.27.6";
  version = "0.28.4";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-RfPdCz+xPfvqhW3ZbJrP53vrpXubAZRE7pYu0rdidt0=";
    hash = "sha256-0oNQlOktCj0XItA6/VSYMRWyFy1XWBpmStairz0zwSw=";
  };

  build-system = [ setuptools ];

  nativeBuildInputs = [ cmake ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ perl ];

  hardeningDisable = [ "fortify" ]; # needed for jitterentropy

  dontUseCmakeConfigure = true;

  pythonImportsCheck = [ "awscrt" ];