summary refs log tree commit diff
path: root/pkgs/development/libraries/libs3/default.nix
blob: 3d8699918e165e3cf7e09200572c25b01a6bf996 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchFromGitHub, curl, libxml2 }:

stdenv.mkDerivation {
  name = "libs3-2015-01-09";

  src = fetchFromGitHub {
    owner = "bji";
    repo = "libs3";
    rev = "4d21fdc0857b88c964649b321057d7105d1e4da3";
    sha256 = "1c33h8lzlpmsbkymd2dac9g8hqhd6j6yzdjrhha8bcqyys6vcpy3";
  };

  buildInputs = [ curl libxml2 ];

  DESTDIR = "\${out}";

  meta = with stdenv.lib; {
    homepage = https://github.com/bji/libs3;
    description = "a library for interfacing with amazon s3";
    licenses = licenses.gpl3;
    platforms = platforms.unix;
  };
}