2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
2021-01-17 10:17:16 +01:00
|
|
|
, autoreconfHook, pkg-config
|
2016-05-24 22:29:24 +02:00
|
|
|
, fuse, curl, expat }:
|
2017-02-02 04:30:01 +01:00
|
|
|
|
2009-12-04 16:51:02 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "s3backer";
|
2021-03-09 14:40:13 +01:00
|
|
|
version = "1.6.1";
|
2017-02-02 04:30:01 +01:00
|
|
|
|
2016-05-24 22:29:24 +02:00
|
|
|
src = fetchFromGitHub {
|
2021-03-09 14:40:13 +01:00
|
|
|
sha256 = "sha256-67sVT72i8tOMdGH/+Oh1N7Vh/2/qD56ImGWI+tprMOM=";
|
2016-05-24 22:29:24 +02:00
|
|
|
rev = version;
|
|
|
|
repo = "s3backer";
|
|
|
|
owner = "archiecobbs";
|
2009-12-04 16:51:02 +01:00
|
|
|
};
|
|
|
|
|
2021-01-17 10:17:16 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2016-05-24 22:29:24 +02:00
|
|
|
buildInputs = [ fuse curl expat ];
|
2009-12-04 16:51:02 +01:00
|
|
|
|
2016-05-24 22:29:24 +02:00
|
|
|
autoreconfPhase = ''
|
|
|
|
patchShebangs ./autogen.sh
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/archiecobbs/s3backer";
|
2009-12-04 16:51:02 +01:00
|
|
|
description = "FUSE-based single file backing store via Amazon S3";
|
2016-05-24 22:29:24 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = with platforms; linux;
|
2009-12-04 16:51:02 +01:00
|
|
|
};
|
|
|
|
}
|