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 {
|
2017-05-14 13:20:43 +01:00
|
|
|
version = "2.9";
|
2016-03-06 16:22:17 +00:00
|
|
|
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}";
|
2017-05-14 13:20:43 +01:00
|
|
|
sha256 = "1n0cq72ps4dzsh72fgfprqn8vcfr7ilrkvhzpy5500wjg88diapv";
|
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
|
|
|
}
|