mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
aws-sdk-cpp: Init at 0.9.6
This commit is contained in:
parent
1f909b51ac
commit
108a0ae881
2 changed files with 46 additions and 0 deletions
44
pkgs/development/libraries/aws-sdk-cpp/default.nix
Normal file
44
pkgs/development/libraries/aws-sdk-cpp/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, curl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "aws-sdk-cpp-${version}";
|
||||
version = "0.9.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "awslabs";
|
||||
repo = "aws-sdk-cpp";
|
||||
rev = version;
|
||||
sha256 = "022v7naa5vjvq3wfn4mcp99li61ffsk2fnc8qqi52cb1pyxz9sk1";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake curl ];
|
||||
|
||||
# FIXME: provide flags to build only part of the SDK, or put them in
|
||||
# different outputs.
|
||||
# cmakeFlags = "-DBUILD_ONLY=aws-cpp-sdk-s3";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preBuild =
|
||||
''
|
||||
# Ensure that the unit tests can find the *.so files.
|
||||
for i in testing-resources aws-cpp-sdk-*; do
|
||||
export LD_LIBRARY_PATH=$(pwd)/$i:$LD_LIBRARY_PATH
|
||||
done
|
||||
'';
|
||||
|
||||
postInstall =
|
||||
''
|
||||
# Move the .so files to a more reasonable location.
|
||||
mv $out/lib/linux/*/Release/*.so $out/lib
|
||||
rm -rf $out/lib/linux
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A C++ interface for Amazon Web Services";
|
||||
homepage = https://github.com/awslabs/aws-sdk-cpp;
|
||||
license = lib.licenses.asl20;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.eelco ];
|
||||
};
|
||||
}
|
|
@ -6288,6 +6288,8 @@ let
|
|||
inherit (darwin.apple_sdk.frameworks) AudioUnit CoreServices;
|
||||
};
|
||||
|
||||
aws-sdk-cpp = callPackage ../development/libraries/aws-sdk-cpp { };
|
||||
|
||||
babl = callPackage ../development/libraries/babl { };
|
||||
|
||||
beecrypt = callPackage ../development/libraries/beecrypt { };
|
||||
|
|
Loading…
Reference in a new issue