summary refs log blame commit diff
path: root/pkgs/tools/filesystems/fuse-overlayfs/default.nix
blob: 56c96ff6f16a7404aebfa6b1528c7acbd99fdc24 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                                
 
                         
                           
                  
 

                         
                 
                        
                                                                   
    
 
                                                    
 
                          
 
                                                    
 
                    


                                                                                              
                                                                     
                                
                                

    
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, fuse3, nixosTests }:

stdenv.mkDerivation rec {
  pname = "fuse-overlayfs";
  version = "1.7";

  src = fetchFromGitHub {
    owner = "containers";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-eJTyiepQpCptZUnlmWTYejCyzf3QHCzqrn67UjW9mU4=";
  };

  nativeBuildInputs = [ autoreconfHook pkg-config ];

  buildInputs = [ fuse3 ];

  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;
  };
}