3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/filesystems/sshfs-fuse/default.nix

28 lines
744 B
Nix
Raw Normal View History

2016-02-25 11:27:18 +00:00
{ stdenv, fetchFromGitHub, pkgconfig, glib, fuse, autoreconfHook }:
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}";
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";
};
2016-02-25 11:27:18 +00:00
buildInputs = [ pkgconfig glib fuse autoreconfHook ];
postInstall = ''
mkdir -p $out/sbin
ln -sf $out/bin/sshfs $out/sbin/mount.sshfs
'';
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;
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 ];
};
}