Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 44 lines 936 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 pkg-config, 7 fuse3, 8 nixosTests, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "fuse-overlayfs"; 13 version = "1.15"; 14 15 src = fetchFromGitHub { 16 owner = "containers"; 17 repo = "fuse-overlayfs"; 18 rev = "v${version}"; 19 hash = "sha256-awVDq87lxMtpTADhy8k95N/4yuGH+2Fn94j3JZzkuUY="; 20 }; 21 22 nativeBuildInputs = [ 23 autoreconfHook 24 pkg-config 25 ]; 26 27 buildInputs = [ fuse3 ]; 28 29 enableParallelBuilding = true; 30 strictDeps = true; 31 32 passthru.tests = { inherit (nixosTests) podman; }; 33 34 meta = with lib; { 35 description = "FUSE implementation for overlayfs"; 36 longDescription = "An implementation of overlay+shiftfs in FUSE for rootless containers."; 37 license = licenses.gpl3; 38 maintainers = with maintainers; [ ma9e ]; 39 teams = [ teams.podman ]; 40 platforms = platforms.linux; 41 inherit (src.meta) homepage; 42 mainProgram = "fuse-overlayfs"; 43 }; 44}