nixpkgs/pkgs/tools/filesystems/s3backer/default.nix

31 lines
731 B
Nix
Raw Normal View History

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