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

23 lines
579 B
Nix
Raw Normal View History

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-09-03 02:46:48 +01:00
version = "0.8.0";
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-09-03 02:46:48 +01:00
sha256 = "1pyrdff5qqc0l3h4nssa9a7qnfqwy2p6ywc8nbwyc7wvzgdiczb8";
2018-12-21 13:15:17 +00:00
};
2019-09-03 02:46:48 +01:00
modSha256 = "1fk9z7a6wghrs15pc28g5ri7rkbb1ifjb91rscwqsmh10r2wik4w";
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
};
}