mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
commit
78bfda9cd6
1 changed files with 10 additions and 6 deletions
|
@ -1,14 +1,18 @@
|
|||
{ stdenv, fetchurl, pkgconfig, glib, fuse }:
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, glib, fuse, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sshfs-fuse-2.5";
|
||||
version = "2.7";
|
||||
name = "sshfs-fuse-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/fuse/${name}.tar.gz";
|
||||
sha256 = "0gp6qr33l2p0964j0kds0dfmvyyf5lpgsn11daf0n5fhwm9185z9";
|
||||
src = fetchFromGitHub {
|
||||
repo = "sshfs";
|
||||
owner = "libfuse";
|
||||
rev = "sshfs-${version}";
|
||||
sha256 = "17l9b89zy5qzfcknw3krk74rfrqaa8q1r8jwdsahaqajsy09h4x4";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig glib fuse ];
|
||||
buildInputs = [ pkgconfig glib fuse autoreconfHook ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/sbin
|
||||
ln -sf $out/bin/sshfs $out/sbin/mount.sshfs
|
||||
|
|
Loading…
Reference in a new issue