3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/aws-c-sdkutils/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
743 B
Nix
Raw Normal View History

2021-10-18 09:23:33 +01:00
{ lib, stdenv
, fetchFromGitHub
, aws-c-common
, cmake
}:
stdenv.mkDerivation rec {
pname = "aws-c-sdkutils";
2022-03-29 08:57:01 +01:00
version = "0.1.2";
2021-10-18 09:23:33 +01:00
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-c-sdkutils";
rev = "v${version}";
2022-03-29 08:57:01 +01:00
sha256 = "sha256-G+ykP39EmI8BCeulTsZ/OSFKRzXVbEK0+mtJ3tugl5M=";
2021-10-18 09:23:33 +01:00
};
nativeBuildInputs = [
cmake
];
buildInputs = [
aws-c-common
];
cmakeFlags = [
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
"-DBUILD_SHARED_LIBS=ON"
];
doCheck = true;
meta = with lib; {
description = "AWS SDK utility library";
homepage = "https://github.com/awslabs/aws-c-sdkutils";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ r-burns ];
};
}