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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
931 B
Nix
Raw Normal View History

2021-03-25 16:40:10 +00:00
{lib, stdenv, fetchurl, glib, neon, fuse, autoreconfHook, pkg-config}:
stdenv.mkDerivation rec {
pname = "wdfs-fuse";
version = "1.4.2";
src = fetchurl {
2021-03-25 16:40:10 +00:00
url = "http://noedler.de/projekte/wdfs/wdfs-${version}.tar.gz";
sha256 = "fcf2e1584568b07c7f3683a983a9be26fae6534b8109e09167e5dff9114ba2e5";
};
2021-03-25 16:40:10 +00:00
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [fuse glib neon];
2018-09-07 20:38:03 +00:00
2021-03-25 16:40:10 +00:00
postPatch = lib.optionalString stdenv.isDarwin ''
# Fix the build on macOS with macFUSE installed. Needs autoreconfHook to
# take effect.
substituteInPlace configure.ac --replace \
'export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH' ""
'';
meta = with lib; {
homepage = "http://noedler.de/projekte/wdfs/";
2021-03-25 16:40:10 +00:00
license = licenses.gpl2Plus;
description = "User-space filesystem that allows to mount a webdav share";
2021-03-25 16:40:10 +00:00
platforms = platforms.unix;
2023-11-23 21:09:35 +00:00
mainProgram = "wdfs";
};
}