nixpkgs/pkgs/tools/filesystems/fuse-overlayfs/default.nix

29 lines
806 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, fuse3, nixosTests }:
2018-12-30 11:08:15 +00:00
2019-02-08 15:02:08 +00:00
stdenv.mkDerivation rec {
2019-06-09 21:32:10 +01:00
pname = "fuse-overlayfs";
version = "1.5.0";
2018-12-30 11:08:15 +00:00
2019-02-08 15:02:08 +00:00
src = fetchFromGitHub {
owner = "containers";
2019-06-09 21:32:10 +01:00
repo = pname;
2019-02-08 15:02:08 +00:00
rev = "v${version}";
sha256 = "sha256-/gdmrQhYsE4a/1sxtJ5IfVUWjh08wTVrOr4V7Fkn1i0=";
2019-02-08 15:02:08 +00:00
};
2018-12-30 11:08:15 +00:00
nativeBuildInputs = [ autoreconfHook pkg-config ];
2019-12-12 11:41:03 +00:00
2019-02-08 15:02:08 +00:00
buildInputs = [ fuse3 ];
2018-12-30 11:08:15 +00:00
2020-08-23 23:38:10 +01:00
passthru.tests = { inherit (nixosTests) podman; };
2020-05-19 01:41:00 +01:00
meta = with lib; {
2019-02-08 15:02:08 +00:00
description = "FUSE implementation for overlayfs";
longDescription = "An implementation of overlay+shiftfs in FUSE for rootless containers.";
license = licenses.gpl3;
2020-04-03 11:11:28 +01:00
maintainers = with maintainers; [ ma9e ] ++ teams.podman.members;
2020-05-11 20:24:49 +01:00
platforms = platforms.linux;
2019-12-12 11:41:03 +00:00
inherit (src.meta) homepage;
2019-02-08 15:02:08 +00:00
};
}