nixpkgs/pkgs/development/tools/dive/default.nix
2018-12-21 08:15:17 -05:00

26 lines
594 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "dive";
version = "0.5.0";
goPackagePath = "github.com/wagoodman/dive";
src = fetchFromGitHub {
owner = "wagoodman";
repo = "dive";
rev = "v${version}";
sha256 = "159m36p7b0ygdp42qdmmz02rhrkymh8m6yl21m1ixd4c2pjkjhns";
};
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;
maintainers = [ maintainers.marsam ];
};
}