1 {lib, stdenv, fetchurl, glib, neon, fuse, autoreconfHook, pkg-config}:
3 stdenv.mkDerivation rec {
8 url = "http://noedler.de/projekte/wdfs/wdfs-${version}.tar.gz";
9 sha256 = "fcf2e1584568b07c7f3683a983a9be26fae6534b8109e09167e5dff9114ba2e5";
11 nativeBuildInputs = [ autoreconfHook pkg-config ];
12 buildInputs = [fuse glib neon];
14 postPatch = lib.optionalString stdenv.isDarwin ''
15 # Fix the build on macOS with macFUSE installed. Needs autoreconfHook to
17 substituteInPlace configure.ac --replace \
18 'export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH' ""
22 homepage = "http://noedler.de/projekte/wdfs/";
23 license = licenses.gpl2Plus;
24 description = "User-space filesystem that allows to mount a webdav share";
25 platforms = platforms.unix;