2016-05-24 21:29:24 +01:00
|
|
|
{ stdenv, fetchFromGitHub
|
|
|
|
, autoreconfHook, pkgconfig
|
|
|
|
, fuse, curl, expat }:
|
2009-12-04 15:51:02 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-05-24 21:29:24 +01:00
|
|
|
name = "s3backer-${version}";
|
|
|
|
version = "1.4.2";
|
2009-12-04 15:51:02 +00:00
|
|
|
|
2016-05-24 21:29:24 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
sha256 = "0b9vmykrfpzs9is31pqb8xvgjraghnax1ph2jkbib1ya0vhxm8dj";
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2009-12-04 15:51:02 +00:00
|
|
|
homepage = http://code.google.com/p/s3backer/;
|
|
|
|
description = "FUSE-based single file backing store via Amazon S3";
|
2016-05-24 21:29:24 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ nckx ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with platforms; linux;
|
2009-12-04 15:51:02 +00:00
|
|
|
};
|
|
|
|
}
|