Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 57 lines 990 B view raw
1{ lib, stdenv 2, fetchFromGitHub 3, aws-c-auth 4, aws-c-cal 5, aws-c-common 6, aws-c-compression 7, aws-c-http 8, aws-c-io 9, aws-checksums 10, cmake 11, nix 12, s2n-tls 13}: 14 15stdenv.mkDerivation rec { 16 pname = "aws-c-s3"; 17 version = "0.2.8"; 18 19 src = fetchFromGitHub { 20 owner = "awslabs"; 21 repo = "aws-c-s3"; 22 rev = "v${version}"; 23 sha256 = "sha256-kwYzsKdEy+e0GxqYcakcdwoaC2LLPZe8E7bZNrmqok0="; 24 }; 25 26 nativeBuildInputs = [ 27 cmake 28 ]; 29 30 buildInputs = [ 31 aws-c-auth 32 aws-c-cal 33 aws-c-common 34 aws-c-compression 35 aws-c-http 36 aws-c-io 37 aws-checksums 38 s2n-tls 39 ]; 40 41 cmakeFlags = [ 42 "-DBUILD_SHARED_LIBS=ON" 43 ]; 44 45 passthru.tests = { 46 inherit nix; 47 }; 48 49 meta = with lib; { 50 description = "C99 library implementation for communicating with the S3 service"; 51 homepage = "https://github.com/awslabs/aws-c-s3"; 52 license = licenses.asl20; 53 maintainers = with maintainers; [ r-burns ]; 54 mainProgram = "s3"; 55 platforms = platforms.unix; 56 }; 57}