889482aab3
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
25 lines
709 B
Nix
25 lines
709 B
Nix
{ lib, stdenv, fetchurl, fuse, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.16.0";
|
|
pname = "bindfs";
|
|
|
|
src = fetchurl {
|
|
url = "https://bindfs.org/downloads/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-AuvvqqZOGwRPxcdDxYKarSHtb3FF9NsHI7zEXwhXgfY=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ fuse ];
|
|
postFixup = ''
|
|
ln -s $out/bin/bindfs $out/bin/mount.fuse.bindfs
|
|
'';
|
|
|
|
meta = {
|
|
description = "A 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;
|
|
};
|
|
}
|