summary refs log blame commit diff
path: root/pkgs/tools/filesystems/s3backer/default.nix
blob: b617414aac8447a4d1aabb8ec3e023c8dafe170f (plain) (tree)
1
2
3
4
5
6
7
8
9
                              

                           
 
                         
                     
                    
 
                         
                                                                    


                          

    

                                                   
 




                              
                    
                                                         
                                                                       
                                
                                      

    
{ lib, 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 lib; {
    homepage = "https://github.com/archiecobbs/s3backer";
    description = "FUSE-based single file backing store via Amazon S3";
    license = licenses.gpl2Plus;
    platforms = with platforms; linux;
  };
}