Added smbfsFuse (executable name fusesmb)
svn path=/nixpkgs/trunk/; revision=10285
This commit is contained in:
parent
6f6477d60f
commit
5cc556e313
29
pkgs/tools/networking/smbfs-fuse/0.8.7.nix
Normal file
29
pkgs/tools/networking/smbfs-fuse/0.8.7.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
args : with args; with builderDefs {src="";} null;
|
||||||
|
let localDefs = builderDefs {
|
||||||
|
src = /* put a fetchurl here */
|
||||||
|
fetchurl {
|
||||||
|
url = http://www.ricardis.tudelft.nl/~vincent/fusesmb/download/fusesmb-0.8.7.tar.gz;
|
||||||
|
sha256 = "12gz2gn9iqjg27a233dn2wij7snm7q56h97k6gks0yijf6xcnpz1";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [samba fuse];
|
||||||
|
configureFlags = [];
|
||||||
|
postInstall = FullDepEntry
|
||||||
|
(''
|
||||||
|
ensureDir $out/lib
|
||||||
|
ln -fs ${samba}/lib/libsmbclient.so $out/lib/libsmbclient.so.0
|
||||||
|
'')
|
||||||
|
[ "minInit" "defEnsureDir" "doMakeInstall"];
|
||||||
|
} null; /* null is a terminator for sumArgs */
|
||||||
|
in with localDefs;
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "smbfs-fuse-"+version;
|
||||||
|
builder = writeScript (name + "-builder")
|
||||||
|
(textClosure localDefs
|
||||||
|
[doConfigure doMakeInstall postInstall doForceShare doPropagate]);
|
||||||
|
meta = {
|
||||||
|
description = "
|
||||||
|
Samba mounted via FUSE.
|
||||||
|
";
|
||||||
|
};
|
||||||
|
}
|
@ -753,6 +753,13 @@ rec {
|
|||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
smbfsFuseFun = lib.sumArgs (selectVersion ../tools/networking/smbfs-fuse) {
|
||||||
|
version = "0.8.7";
|
||||||
|
inherit builderDefs samba fuse;
|
||||||
|
};
|
||||||
|
|
||||||
|
smbfsFuse = smbfsFuseFun null;
|
||||||
|
|
||||||
sudo = import ../tools/security/sudo {
|
sudo = import ../tools/security/sudo {
|
||||||
inherit fetchurl stdenv coreutils pam;
|
inherit fetchurl stdenv coreutils pam;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user