2018-12-21 13:15:17 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "dive";
|
2019-02-21 13:37:49 +00:00
|
|
|
version = "0.6.0";
|
2018-12-21 13:15:17 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/wagoodman/dive";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wagoodman";
|
|
|
|
repo = "dive";
|
|
|
|
rev = "v${version}";
|
2019-02-21 13:37:49 +00:00
|
|
|
sha256 = "05n19a5q1yi8r6r72z634z93lz2i347zccs9qm7gx5h86nh147zd";
|
2018-12-21 13:15:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|