nixpkgs/pkgs/tools/filesystems/sshfs-fuse/default.nix

28 lines
744 B
Nix
Raw Normal View History

2016-02-25 12:27:18 +01:00
{ stdenv, fetchFromGitHub, pkgconfig, glib, fuse, autoreconfHook }:
stdenv.mkDerivation rec {
2017-05-14 14:20:43 +02:00
version = "2.9";
2016-03-06 17:22:17 +01:00
name = "sshfs-fuse-${version}";
2016-02-25 12:27:18 +01:00
src = fetchFromGitHub {
repo = "sshfs";
owner = "libfuse";
2016-03-06 17:22:17 +01:00
rev = "sshfs-${version}";
2017-05-14 14:20:43 +02:00
sha256 = "1n0cq72ps4dzsh72fgfprqn8vcfr7ilrkvhzpy5500wjg88diapv";
};
2016-02-25 12:27:18 +01:00
buildInputs = [ pkgconfig glib fuse autoreconfHook ];
postInstall = ''
mkdir -p $out/sbin
ln -sf $out/bin/sshfs $out/sbin/mount.sshfs
'';
2015-06-22 08:25:07 +02:00
meta = with stdenv.lib; {
2016-01-27 17:33:14 +01:00
homepage = https://github.com/libfuse/sshfs;
description = "FUSE-based filesystem that allows remote filesystems to be mounted over SSH";
2015-06-22 08:25:07 +02:00
platforms = platforms.linux;
maintainers = with maintainers; [ jgeerds ];
};
}