nixpkgs/pkgs/development/tools/dive/default.nix

23 lines
579 B
Nix
Raw Normal View History

2019-05-25 04:00:00 +02:00
{ lib, buildGoModule, fetchFromGitHub }:
2018-12-21 14:15:17 +01:00
2019-05-25 04:00:00 +02:00
buildGoModule rec {
2018-12-21 14:15:17 +01:00
pname = "dive";
2019-09-03 03:46:48 +02:00
version = "0.8.0";
2018-12-21 14:15:17 +01:00
src = fetchFromGitHub {
owner = "wagoodman";
2019-05-25 04:00:00 +02:00
repo = pname;
2018-12-21 14:15:17 +01:00
rev = "v${version}";
2019-09-03 03:46:48 +02:00
sha256 = "1pyrdff5qqc0l3h4nssa9a7qnfqwy2p6ywc8nbwyc7wvzgdiczb8";
2018-12-21 14:15:17 +01:00
};
2019-09-03 03:46:48 +02:00
modSha256 = "1fk9z7a6wghrs15pc28g5ri7rkbb1ifjb91rscwqsmh10r2wik4w";
2018-12-21 14:15:17 +01:00
2019-05-25 04:00:00 +02:00
meta = with lib; {
2018-12-21 14:15:17 +01:00
description = "A tool for exploring each layer in a docker image";
homepage = https://github.com/wagoodman/dive;
license = licenses.mit;
2019-02-21 14:37:49 +01:00
maintainers = with maintainers; [ marsam spacekookie ];
2018-12-21 14:15:17 +01:00
};
}