2016-05-24 22:29:24 +02:00
|
|
|
{ stdenv, fetchFromGitHub
|
|
|
|
, autoreconfHook, pkgconfig
|
|
|
|
, fuse, curl, expat }:
|
2017-02-02 04:30:01 +01:00
|
|
|
|
2009-12-04 16:51:02 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2016-05-24 22:29:24 +02:00
|
|
|
name = "s3backer-${version}";
|
2018-06-17 17:47:16 +02:00
|
|
|
version = "1.5.0";
|
2017-02-02 04:30:01 +01:00
|
|
|
|
2016-05-24 22:29:24 +02:00
|
|
|
src = fetchFromGitHub {
|
2018-06-17 17:47:16 +02:00
|
|
|
sha256 = "0pmszcnnlqyysljfyysd6jsvdz7fqgbk8z4vnkmda5dwwcm8b8fs";
|
2016-05-24 22:29:24 +02:00
|
|
|
rev = version;
|
|
|
|
repo = "s3backer";
|
|
|
|
owner = "archiecobbs";
|
2009-12-04 16:51:02 +01:00
|
|
|
};
|
|
|
|
|
2016-05-24 22:29:24 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-10-27 01:44:19 +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
|
|
|
};
|
|
|
|
}
|