17 src = fetchFromGitHub {
21 hash = "sha256-CuVRFybsn7PVPgz3fz5ghpjOEOsTYTv6uUAgRgFewFw=";
24 vendorHash = "sha256-uzzawa/Doo6j/Fh9dJMzGKbpp24UTLAo9VGmuQ80IZE=";
26 nativeBuildInputs = [ pkg-config ];
28 buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
36 # See https://github.com/wagoodman/dive/pull/447
38 name = "fix-scrolling.patch";
39 url = "https://github.com/wagoodman/dive/pull/473/commits/a885fa6e68b3763d52de20603ee1b9cd8949276f.patch";
40 hash = "sha256-6gTWfyvK19xDqc7Ah33ewgz/WQRcQHLYwerrwUtRpJc=";
43 name = "add-scrolling-layers.patch";
44 url = "https://github.com/wagoodman/dive/pull/473/commits/840653158e235bdd59b4c4621cf282ce6499c714.patch";
45 hash = "sha256-dYqg5JpWKOzy3hVjIVCHA2vmKCtCgc8W+oHEzuGpyxc=";
48 name = "fix-render-update.patch";
49 url = "https://github.com/wagoodman/dive/pull/473/commits/36177a9154eebe9e3ae9461a9e6f6b368f7974e1.patch";
50 hash = "sha256-rSeEYxUaYlEZGv+NWYK+nATBYS4P2swqjC3HimHyqNI=";
57 "-X main.version=${version}"
61 description = "Tool for exploring each layer in a docker image";
63 homepage = "https://github.com/wagoodman/dive";
64 changelog = "https://github.com/wagoodman/dive/releases/tag/v${version}";
65 license = licenses.mit;
66 maintainers = with maintainers; [ SuperSandro2000 ];