1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/tools/filesystems/fusesmb/default.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

25 lines
597 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 =
''
mkdir -p $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;
};
}