2019-02-08 16:02:08 +01:00
|
|
|
{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig, fuse3 }:
|
2018-12-30 12:08:15 +01:00
|
|
|
|
2019-02-08 16:02:08 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-06-09 22:32:10 +02:00
|
|
|
pname = "fuse-overlayfs";
|
2020-03-04 09:56:31 +01:00
|
|
|
version = "0.7.7";
|
2018-12-30 12:08:15 +01:00
|
|
|
|
2019-02-08 16:02:08 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "containers";
|
2019-06-09 22:32:10 +02:00
|
|
|
repo = pname;
|
2019-02-08 16:02:08 +01:00
|
|
|
rev = "v${version}";
|
2020-03-04 09:56:31 +01:00
|
|
|
sha256 = "0fifqa4f79lhklajsf1aiipc4cyykscqlns9pzbcq5hdphi9fbsb";
|
2019-02-08 16:02:08 +01:00
|
|
|
};
|
2018-12-30 12:08:15 +01:00
|
|
|
|
2019-02-08 16:02:08 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2019-12-12 12:41:03 +01:00
|
|
|
|
2019-02-08 16:02:08 +01:00
|
|
|
buildInputs = [ fuse3 ];
|
2018-12-30 12:08:15 +01:00
|
|
|
|
2019-02-08 16:02:08 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "FUSE implementation for overlayfs";
|
|
|
|
longDescription = "An implementation of overlay+shiftfs in FUSE for rootless containers.";
|
|
|
|
license = licenses.gpl3;
|
2019-12-12 12:41:03 +01:00
|
|
|
maintainers = with maintainers; [ ma9e ];
|
2019-02-08 16:02:08 +01:00
|
|
|
platforms = platforms.unix;
|
2019-12-12 12:41:03 +01:00
|
|
|
inherit (src.meta) homepage;
|
2019-02-08 16:02:08 +01:00
|
|
|
};
|
|
|
|
}
|