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-05-25 04:00:00 +02:00
version = "0.7.2";
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-05-25 04:00:00 +02:00
sha256 = "0az9b800zwk5sd90s8ssg8amf0a4dl7nrglkirp51d8hh3rs6nzl";
2018-12-21 14:15:17 +01:00
};
2019-05-25 04:00:00 +02:00
modSha256 = "1rc9nqri66kgjpxqcgwllyd0qmk46gs3wmsfdj1w43p6ybnaf3qw";
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
};
}