nixpkgs/pkgs/tools/filesystems/fuse-overlayfs/default.nix
2023-05-13 02:57:19 +00:00

32 lines
858 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, fuse3, nixosTests }:
stdenv.mkDerivation rec {
pname = "fuse-overlayfs";
version = "1.12";
src = fetchFromGitHub {
owner = "containers";
repo = pname;
rev = "v${version}";
hash = "sha256-k9ws3m0stPqzmi3WOAWH3RfQywlOa6l5SFvloanf5e0=";
};
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;
};
}