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 {
|
2022-07-18 16:21:45 +00:00
|
|
|
version = "1.17.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "bindfs";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bindfs.org/downloads/${pname}-${version}.tar.gz";
|
2022-07-18 16:21:45 +00:00
|
|
|
sha256 = "sha256-cNpX1J53lP5UuFdb/danlDqrVK2i6OL99L4E4AEUUdw=";
|
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
|
|
|
};
|
|
|
|
}
|