nixpkgs/pkgs/tools/filesystems/bindfs/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

38 lines
925 B
Nix

{ lib
, stdenv
, fetchurl
, pkg-config
, fuse
, fuse3
}:
stdenv.mkDerivation (finalAttrs: {
version = "1.17.7";
pname = "bindfs";
src = fetchurl {
url = "https://bindfs.org/downloads/bindfs-${finalAttrs.version}.tar.gz";
hash = "sha256-wLBg6Uw6IxodSqC88mb/GJmBpO845C++IylqfYFxm3o=";
};
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 = "FUSE filesystem for mounting a directory to another location";
homepage = "https://bindfs.org";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ lovek323 lovesegfault ];
platforms = lib.platforms.unix;
broken = stdenv.isDarwin; # last successful build 2023-11-17
};
})