nixpkgs/pkgs/tools/filesystems/sshfs-fuse/default.nix
David Guibert 1e4cb4f0eb sshfs: link sshfs to mount.sshfs
mount.fuse is not able to find sshfs.
So calling
  $ mount -t sshfs user@host:path mount/point
will search for mount.sshfs to do the mount.

svn path=/nixpkgs/trunk/; revision=28443
2011-08-09 20:38:55 +00:00

23 lines
605 B
Nix

{ 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;
};
}