3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/filesystems/s3backer/default.nix

31 lines
721 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub
2016-05-24 21:29:24 +01:00
, autoreconfHook, pkgconfig
, fuse, curl, expat }:
2017-02-02 03:30:01 +00:00
stdenv.mkDerivation rec {
pname = "s3backer";
version = "1.5.4";
2017-02-02 03:30:01 +00:00
2016-05-24 21:29:24 +01:00
src = fetchFromGitHub {
sha256 = "1228qlfgz48k9vv72hrz488zg73zls99cppb9vmikc0pzv1xndsx";
2016-05-24 21:29:24 +01:00
rev = version;
repo = "s3backer";
owner = "archiecobbs";
};
2016-05-24 21:29:24 +01:00
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ fuse curl expat ];
2016-05-24 21:29:24 +01:00
autoreconfPhase = ''
patchShebangs ./autogen.sh
./autogen.sh
'';
meta = with lib; {
homepage = "https://github.com/archiecobbs/s3backer";
description = "FUSE-based single file backing store via Amazon S3";
2016-05-24 21:29:24 +01:00
license = licenses.gpl2Plus;
platforms = with platforms; linux;
};
}