ca5ab3a501
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
31 lines
859 B
Nix
31 lines
859 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, fuse3, nixosTests }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fuse-overlayfs";
|
|
version = "1.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "containers";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-+LuA9gSdVmt4iEJyeg6HbddD2YsKmkV/MJQbAgg/vJQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
buildInputs = [ fuse3 ];
|
|
|
|
enableParallelBuilding = true;
|
|
strictDeps = true;
|
|
|
|
passthru.tests = { inherit (nixosTests) podman; };
|
|
|
|
meta = with lib; {
|
|
description = "FUSE implementation for overlayfs";
|
|
longDescription = "An implementation of overlay+shiftfs in FUSE for rootless containers.";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ ma9e ] ++ teams.podman.members;
|
|
platforms = platforms.linux;
|
|
inherit (src.meta) homepage;
|
|
};
|
|
}
|