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