Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / aws-c-sdkutils / default.nix
blob2c76371955cb74561bae0a4ce5f24ea9c339e464
1 { lib, stdenv
2 , fetchFromGitHub
3 , aws-c-common
4 , cmake
5 , nix
6 }:
8 stdenv.mkDerivation rec {
9   pname = "aws-c-sdkutils";
10   version = "0.1.12";
12   src = fetchFromGitHub {
13     owner = "awslabs";
14     repo = "aws-c-sdkutils";
15     rev = "v${version}";
16     sha256 = "sha256-4YuOC90FBcuNYGBsqw3wKYNGkg3MssezvR8bu6BNGeM=";
17   };
19   nativeBuildInputs = [
20     cmake
21   ];
23   buildInputs = [
24     aws-c-common
25   ];
27   cmakeFlags = [
28     "-DBUILD_SHARED_LIBS=ON"
29   ];
31   doCheck = true;
33   passthru.tests = {
34     inherit nix;
35   };
37   meta = with lib; {
38     description = "AWS SDK utility library";
39     homepage = "https://github.com/awslabs/aws-c-sdkutils";
40     license = licenses.asl20;
41     platforms = platforms.unix;
42     maintainers = with maintainers; [ r-burns ];
43   };