2015-04-28 21:41:40 +01:00
|
|
|
{ stdenv, fetchFromGitHub, curl, libxml2 }:
|
2015-04-21 22:49:16 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2018-03-13 22:19:37 +00:00
|
|
|
name = "libs3-2017-06-01";
|
2015-04-21 22:49:16 +01:00
|
|
|
|
2015-04-28 21:41:40 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bji";
|
|
|
|
repo = "libs3";
|
2018-03-13 22:19:37 +00:00
|
|
|
rev = "fd8b149044e429ad30dc4c918f0713cdd40aadd2";
|
|
|
|
sha256 = "0a4c9rsd3wildssvnvph6cd11adn0p3rd4l02z03lvxkjhm20gw3";
|
2015-04-21 22:49:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ curl libxml2 ];
|
|
|
|
|
2018-03-13 22:19:37 +00:00
|
|
|
# added to fix build with gcc7, review on update
|
|
|
|
NIX_CFLAGS_COMPILE = [ "-Wno-error=format-truncation" ];
|
|
|
|
|
2015-04-21 22:49:16 +01:00
|
|
|
DESTDIR = "\${out}";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/bji/libs3;
|
2015-05-21 14:41:06 +01:00
|
|
|
description = "A library for interfacing with amazon s3";
|
2015-08-02 02:04:40 +01:00
|
|
|
license = licenses.lgpl3;
|
2015-09-17 23:41:23 +01:00
|
|
|
platforms = platforms.linux;
|
2015-04-21 22:49:16 +01:00
|
|
|
};
|
|
|
|
}
|