nixpkgs/pkgs/tools/filesystems/fusesmb/default.nix

29 lines
700 B
Nix
Raw Normal View History

{ 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
'';
hardeningDisable = [ "format" ];
2016-02-11 00:36:52 +00:00
meta = with stdenv.lib; {
description = "Samba mounted via FUSE";
license = licenses.gpl2;
platforms = platforms.linux;
2018-08-21 15:30:59 +01:00
broken = true; # Needs vulnerable Samba, missing source link
# 2018-08-21
};
}