depot/third_party/nixpkgs/pkgs/tools/filesystems/fuse-overlayfs/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

32 lines
894 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, fuse3, nixosTests }:
stdenv.mkDerivation rec {
pname = "fuse-overlayfs";
version = "1.13";
src = fetchFromGitHub {
owner = "containers";
repo = pname;
rev = "v${version}";
hash = "sha256-ngpC1KtUsIJOfpJ9dSqZn9XhKkJSpp2/6RBz/RlZ+A0=";
};
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;
mainProgram = "fuse-overlayfs";
};
}