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 {
2016-03-06 16:22:17 +00:00
version = "2.7";
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}";
sha256 = "17l9b89zy5qzfcknw3krk74rfrqaa8q1r8jwdsahaqajsy09h4x4";
};
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 06:25:07 +00: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 06:25:07 +00:00
platforms = platforms.linux;
maintainers = with maintainers; [ jgeerds ];
};
}