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

                          
  
                  

                                                                    
    
  
                                        



                                               



                                                                                                
                                           
    
 
{ stdenv, fetchurl, pkgconfig, glib, fuse }:

stdenv.mkDerivation rec {
  name = "sshfs-fuse-2.2";
  
  src = fetchurl {
    url = "mirror://sourceforge/fuse/${name}.tar.gz";
    sha256 = "08sl7q8nqwg57bxbzp2wb9h204gnl1w9c1f7zjdh7xdr9jybqvi0";
  };
  
  buildInputs = [ pkgconfig glib fuse ];
  postInstall = ''
    ensureDir $out/sbin
    ln -sf $out/bin/sshfs $out/sbin/mount.sshfs
  '';

  meta = {
    homepage = http://fuse.sourceforge.net/sshfs.html;
    description = "FUSE-based filesystem that allows remote filesystems to be mounted over SSH";
    platforms = stdenv.lib.platforms.linux;
  };
}