2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
2016-05-24 21:29:24 +01:00
|
|
|
, autoreconfHook, pkgconfig
|
|
|
|
, fuse, curl, expat }:
|
2017-02-02 03:30:01 +00:00
|
|
|
|
2009-12-04 15:51:02 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "s3backer";
|
2019-10-24 02:13:53 +01:00
|
|
|
version = "1.5.4";
|
2017-02-02 03:30:01 +00:00
|
|
|
|
2016-05-24 21:29:24 +01:00
|
|
|
src = fetchFromGitHub {
|
2019-10-24 02:13:53 +01:00
|
|
|
sha256 = "1228qlfgz48k9vv72hrz488zg73zls99cppb9vmikc0pzv1xndsx";
|
2016-05-24 21:29:24 +01:00
|
|
|
rev = version;
|
|
|
|
repo = "s3backer";
|
|
|
|
owner = "archiecobbs";
|
2009-12-04 15:51:02 +00:00
|
|
|
};
|
|
|
|
|
2016-05-24 21:29:24 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ fuse curl expat ];
|
2009-12-04 15:51:02 +00:00
|
|
|
|
2016-05-24 21:29:24 +01:00
|
|
|
autoreconfPhase = ''
|
|
|
|
patchShebangs ./autogen.sh
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/archiecobbs/s3backer";
|
2009-12-04 15:51:02 +00:00
|
|
|
description = "FUSE-based single file backing store via Amazon S3";
|
2016-05-24 21:29:24 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with platforms; linux;
|
2009-12-04 15:51:02 +00:00
|
|
|
};
|
|
|
|
}
|