nixpkgs-suyu/pkgs/os-specific/linux/mount-cifs/default.nix
Eelco Dolstra decf974c94 * Command for mounting CIFS file systems.
svn path=/nixpkgs/trunk/; revision=12515
2008-08-06 15:43:03 +00:00

16 lines
409 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "mount.cifs";
src = fetchurl {
name = "mount.cifs.c";
url = "http://websvn.samba.org/cgi-bin/viewcvs.cgi/*checkout*/branches/SAMBA_3_0/source/client/mount.cifs.c?rev=6103";
sha256 = "19205gd3pv8g519hlbjaw559wqgf0h2vkln9xgqaqip2h446qarp";
};
buildCommand = ''
ensureDir $out/sbin
gcc -Wall $src -o $out/sbin/mount.cifs
'';
}