16 src = fetchFromGitHub {
20 sha256 = "sha256-1pmw8pUlek5FlI1oAuvLSqDow7hw5rw86DRDZ7pFAmA=";
25 url = "https://github.com/wagoodman/dive/commit/fe9411c414418d839a8638bb9a12ccfc892b5845.patch";
26 sha256 = "sha256-c0TcUQ87CeOiXHoTQ3z/04i72aDr403DL7fIbXTJ9cY=";
30 vendorSha256 = "sha256-YPkEei7d7mXP+5FhooNoMDARQLosH2fdSaLXGZ5C27o=";
32 nativeBuildInputs = [ pkg-config ];
34 buildInputs = lib.optionals stdenv.isLinux [ btrfs-progs gpgme lvm2 ];
36 ldflags = [ "-s" "-w" "-X main.version=${version}" ];
39 description = "A tool for exploring each layer in a docker image";
40 homepage = "https://github.com/wagoodman/dive";
41 license = licenses.mit;
42 maintainers = with maintainers; [ marsam spacekookie SuperSandro2000 ];