2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
2021-02-05 17:12:51 +00:00
|
|
|
, autoreconfHook, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, fuse, curl, expat }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "s3backer";
|
|
|
|
version = "1.5.4";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
sha256 = "1228qlfgz48k9vv72hrz488zg73zls99cppb9vmikc0pzv1xndsx";
|
|
|
|
rev = version;
|
|
|
|
repo = "s3backer";
|
|
|
|
owner = "archiecobbs";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ fuse curl expat ];
|
|
|
|
|
|
|
|
autoreconfPhase = ''
|
|
|
|
patchShebangs ./autogen.sh
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/archiecobbs/s3backer";
|
|
|
|
description = "FUSE-based single file backing store via Amazon S3";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|