nixpkgs-suyu/pkgs/tools/filesystems/fusesmb/default.nix
Yury G. Kudryashov 858ce6dfd9 Remove smbfsFuse from release.nix, use meta.platforms instead
svn path=/nixpkgs/trunk/; revision=22908
2010-08-02 21:43:53 +00:00

24 lines
598 B
Nix

{ stdenv, fetchurl, samba, fuse }:
stdenv.mkDerivation rec {
name = "fusesmb-0.8.7";
src = fetchurl {
url = "http://www.ricardis.tudelft.nl/~vincent/fusesmb/download/${name}.tar.gz";
sha256 = "12gz2gn9iqjg27a233dn2wij7snm7q56h97k6gks0yijf6xcnpz1";
};
buildInputs = [ samba fuse ];
postInstall =
''
ensureDir $out/lib
ln -fs ${samba}/lib/libsmbclient.so $out/lib/libsmbclient.so.0
'';
meta = {
description = "Samba mounted via FUSE";
homepage = http://www.ricardis.tudelft.nl/~vincent/fusesmb/;
platforms = stdenv.lib.platforms.linux;
};
}