2016-02-25 11:27:18 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, glib, fuse, autoreconfHook }:
|
2007-01-06 17:36:03 +00:00
|
|
|
|
2009-12-08 11:38:34 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2016-03-06 16:22:17 +00:00
|
|
|
version = "2.7";
|
|
|
|
name = "sshfs-fuse-${version}";
|
2008-08-11 10:39:14 +01:00
|
|
|
|
2016-02-25 11:27:18 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "sshfs";
|
|
|
|
owner = "libfuse";
|
2016-03-06 16:22:17 +00:00
|
|
|
rev = "sshfs-${version}";
|
|
|
|
sha256 = "17l9b89zy5qzfcknw3krk74rfrqaa8q1r8jwdsahaqajsy09h4x4";
|
2007-01-06 17:36:03 +00:00
|
|
|
};
|
2008-08-11 10:39:14 +01:00
|
|
|
|
2016-02-25 11:27:18 +00:00
|
|
|
buildInputs = [ pkgconfig glib fuse autoreconfHook ];
|
|
|
|
|
2011-08-09 21:38:55 +01:00
|
|
|
postInstall = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/sbin
|
2011-08-09 21:38:55 +01:00
|
|
|
ln -sf $out/bin/sshfs $out/sbin/mount.sshfs
|
|
|
|
'';
|
2007-12-24 13:27:07 +00:00
|
|
|
|
2015-06-22 07:25:07 +01:00
|
|
|
meta = with stdenv.lib; {
|
2016-01-27 16:33:14 +00:00
|
|
|
homepage = https://github.com/libfuse/sshfs;
|
2007-12-24 13:27:07 +00:00
|
|
|
description = "FUSE-based filesystem that allows remote filesystems to be mounted over SSH";
|
2015-06-22 07:25:07 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ jgeerds ];
|
2007-12-24 13:27:07 +00:00
|
|
|
};
|
2007-01-06 17:36:03 +00:00
|
|
|
}
|