diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/filesystems/bindfs/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/filesystems/bindfs/default.nix | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/nixpkgs/pkgs/tools/filesystems/bindfs/default.nix b/nixpkgs/pkgs/tools/filesystems/bindfs/default.nix index 46f237d87cf5..dfcf6aba9e08 100644 --- a/nixpkgs/pkgs/tools/filesystems/bindfs/default.nix +++ b/nixpkgs/pkgs/tools/filesystems/bindfs/default.nix @@ -1,25 +1,36 @@ -{ lib, stdenv, fetchurl, fuse, fuse3, pkg-config }: +{ lib +, stdenv +, fetchurl +, pkg-config +, fuse +, fuse3 +}: -stdenv.mkDerivation rec { - version = "1.17.3"; +stdenv.mkDerivation (finalAttrs: { + version = "1.17.4"; pname = "bindfs"; src = fetchurl { - url = "https://bindfs.org/downloads/${pname}-${version}.tar.gz"; - sha256 = "sha256-wWh2CRVywjJCwW6Hxb5+NRL0Q6rmNzKNjAEcBx6TAus="; + url = "https://bindfs.org/downloads/bindfs-${finalAttrs.version}.tar.gz"; + hash = "sha256-b9Svm6LsK9tgPvjuoqnRLbLl/py+UrhkC0FXNKWfPcw="; }; - nativeBuildInputs = [ pkg-config ]; + nativeBuildInputs = [ + pkg-config + ]; + buildInputs = if stdenv.isDarwin then [ fuse ] else [ fuse3 ]; + postFixup = '' ln -s $out/bin/bindfs $out/bin/mount.fuse.bindfs ''; meta = { + changelog = "https://github.com/mpartel/bindfs/raw/${finalAttrs.version}/ChangeLog"; description = "A FUSE filesystem for mounting a directory to another location"; - homepage = "https://bindfs.org"; - license = lib.licenses.gpl2Only; + homepage = "https://bindfs.org"; + license = lib.licenses.gpl2Only; maintainers = with lib.maintainers; [ lovek323 lovesegfault ]; - platforms = lib.platforms.unix; + platforms = lib.platforms.unix; }; -} +}) |