16 src = fetchFromGitHub {
20 hash = "sha256-CuVRFybsn7PVPgz3fz5ghpjOEOsTYTv6uUAgRgFewFw=";
23 vendorHash = "sha256-uzzawa/Doo6j/Fh9dJMzGKbpp24UTLAo9VGmuQ80IZE=";
25 nativeBuildInputs = [ pkg-config ];
27 buildInputs = lib.optionals stdenv.isLinux [ btrfs-progs gpgme lvm2 ];
29 ldflags = [ "-s" "-w" "-X main.version=${version}" ];
32 description = "A tool for exploring each layer in a docker image";
34 homepage = "https://github.com/wagoodman/dive";
35 changelog = "https://github.com/wagoodman/dive/releases/tag/v${version}";
36 license = licenses.mit;
37 maintainers = with maintainers; [ marsam SuperSandro2000 ];