summary refs log tree commit diff
path: root/pkgs/development/libraries/libs3/default.nix
blob: 2d8b2a3b5f15bc353b7e6c67a17020e877ee7139 (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-04-23";

  src = fetchFromGitHub {
    owner = "bji";
    repo = "libs3";
    rev = "11a4e976c28ba525e7d61fbc3867c345a2af1519";
    sha256 = "0xjjwyw14sk9am6s2m25hxi55vmsrc2yiawd6ln2lvg59xjcr48i";
  };

  buildInputs = [ curl libxml2 ];

  DESTDIR = "\${out}";

  meta = with stdenv.lib; {
    homepage = https://github.com/bji/libs3;
    description = "A library for interfacing with amazon s3";
    license = licenses.lgpl3;
    platforms = platforms.linux;
  };
}