1{ stdenv, fetchFromGitHub, curl, libxml2 }:
2
3stdenv.mkDerivation {
4 name = "libs3-2015-04-23";
5
6 src = fetchFromGitHub {
7 owner = "bji";
8 repo = "libs3";
9 rev = "11a4e976c28ba525e7d61fbc3867c345a2af1519";
10 sha256 = "0xjjwyw14sk9am6s2m25hxi55vmsrc2yiawd6ln2lvg59xjcr48i";
11 };
12
13 buildInputs = [ curl libxml2 ];
14
15 DESTDIR = "\${out}";
16
17 meta = with stdenv.lib; {
18 homepage = https://github.com/bji/libs3;
19 description = "A library for interfacing with amazon s3";
20 license = licenses.lgpl3;
21 platforms = platforms.linux;
22 };
23}