13 version = "unstable-2019-04-10";
15 src = fetchFromGitHub {
18 rev = "287e4bee6fd430ffb52604049de80a27a77ff6b4";
19 hash = "sha256-xgiY8oJlRMiXB1fw5dhNidfaq18YVwaJ8aErKU11O6U=";
24 # Fix compilation with openssl 3.0
25 url = "https://github.com/bji/libs3/pull/112/commits/3c3a1cf915e62b730db854d8007ba835cb38677c.patch";
26 hash = "sha256-+rWRh8dOznHlamc/T9qbgN0E2Rww3Hn94UeErxNDccs=";
31 substituteInPlace GNUmakefile \
32 --replace-fail curl-config "$PKG_CONFIG libcurl" \
33 --replace-fail xml2-config "$PKG_CONFIG libxml-2.0"
36 makeFlags = [ "DESTDIR=${placeholder "out"}" ];
40 nativeBuildInputs = [ pkg-config ];
48 description = "Library for interfacing with amazon s3";
49 homepage = "https://github.com/bji/libs3";
50 license = lib.licenses.lgpl3Plus;
52 platforms = lib.platforms.linux;