depot/third_party/nixpkgs/pkgs/tools/filesystems/s3backer/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
723 B
Nix

{ stdenv, fetchFromGitHub
, autoreconfHook, pkgconfig
, fuse, curl, expat }:
stdenv.mkDerivation rec {
pname = "s3backer";
version = "1.5.4";
src = fetchFromGitHub {
sha256 = "1228qlfgz48k9vv72hrz488zg73zls99cppb9vmikc0pzv1xndsx";
rev = version;
repo = "s3backer";
owner = "archiecobbs";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ fuse curl expat ];
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";
license = licenses.gpl2Plus;
platforms = with platforms; linux;
};
}