2021-03-20 04:20:00 +00:00
|
|
|
{ lib, stdenv, fetchurl, fuse, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-02-19 19:06:45 +00:00
|
|
|
version = "1.15.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "bindfs";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bindfs.org/downloads/${pname}-${version}.tar.gz";
|
2021-02-19 19:06:45 +00:00
|
|
|
sha256 = "sha256-BN01hKbN+a9DRNQDxiGFyp+rMc465aJdAQG8EJNsaKs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-03-20 04:20:00 +00:00
|
|
|
buildInputs = [ fuse ];
|
2020-04-24 23:36:52 +00:00
|
|
|
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";
|
2021-02-19 19:06:45 +00:00
|
|
|
license = lib.licenses.gpl2Only;
|
|
|
|
maintainers = with lib.maintainers; [ lovek323 lovesegfault ];
|
2021-01-15 22:18:51 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|