mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
755b915a15
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/'
38 lines
925 B
Nix
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
|
|
};
|
|
})
|