summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/aws-checksums
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-11-26 11:03:04 -0800
committerJonathan Ringer <jonringer@users.noreply.github.com>2020-11-26 12:28:45 -0800
commit61574a09d60db02b0f8546c25eec1aaeb9a2cb47 (patch)
treedd9ae6375d42011cfc9cace032041a849ac52e66 /pkgs/development/libraries/aws-checksums
parent42c89295db3ea0e5629a745c01c856bb728864fd (diff)
aws-checksums: fix build with cmake 3.19
Diffstat (limited to 'pkgs/development/libraries/aws-checksums')
-rw-r--r--pkgs/development/libraries/aws-checksums/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/libraries/aws-checksums/default.nix b/pkgs/development/libraries/aws-checksums/default.nix
index d4ba15e52db4..ea3633d2e4d9 100644
--- a/pkgs/development/libraries/aws-checksums/default.nix
+++ b/pkgs/development/libraries/aws-checksums/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, cmake }:
+{ lib, stdenv, fetchFromGitHub, cmake, fetchpatch }:
stdenv.mkDerivation rec {
pname = "aws-checksums";
@@ -13,6 +13,14 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
+ # can be removed once https://github.com/awslabs/aws-checksums/pull/40 gets merged, and version bumped
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/awslabs/aws-checksums/pull/40/commits/fb5a57b3c072bd88e45de76fbb76bdc89c67b193.patch";
+ sha256 = "056f9kyg1c4lwjq8n0r28w1n3zbwrwpi1wbqabk99gaayg46x35a";
+ })
+ ];
+
cmakeFlags = [ "-DBUILD_SHARED_LIBS:BOOL=ON" ];
meta = with lib; {