2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, fuse3, nixosTests }:
|
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";
|
2022-06-10 23:30:53 +02:00
|
|
|
version = "1.9";
|
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}";
|
2022-06-10 23:30:53 +02:00
|
|
|
sha256 = "sha256-+LuA9gSdVmt4iEJyeg6HbddD2YsKmkV/MJQbAgg/vJQ=";
|
2019-02-08 16:02:08 +01:00
|
|
|
};
|
2018-12-30 12:08:15 +01:00
|
|
|
|
2020-03-17 23:18:26 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
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
|
|
|
|
2022-07-05 03:17:04 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
strictDeps = true;
|
|
|
|
|
2020-08-24 00:38:10 +02:00
|
|
|
passthru.tests = { inherit (nixosTests) podman; };
|
2020-05-19 02:41:00 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-02-08 16:02:08 +01:00
|
|
|
description = "FUSE implementation for overlayfs";
|
|
|
|
longDescription = "An implementation of overlay+shiftfs in FUSE for rootless containers.";
|
|
|
|
license = licenses.gpl3;
|
2020-04-03 12:11:28 +02:00
|
|
|
maintainers = with maintainers; [ ma9e ] ++ teams.podman.members;
|
2020-05-11 21:24:49 +02:00
|
|
|
platforms = platforms.linux;
|
2019-12-12 12:41:03 +01:00
|
|
|
inherit (src.meta) homepage;
|
2019-02-08 16:02:08 +01:00
|
|
|
};
|
|
|
|
}
|