2022-05-14 08:44:24 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-07-06 07:40:34 +00:00
|
|
|
|
2022-05-14 08:44:24 +00:00
|
|
|
buildGoModule rec {
|
2019-07-06 07:40:34 +00:00
|
|
|
pname = "lazydocker";
|
2022-05-14 08:44:24 +00:00
|
|
|
version = "0.18.1";
|
2019-07-06 07:40:34 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jesseduffield";
|
|
|
|
repo = "lazydocker";
|
|
|
|
rev = "v${version}";
|
2022-05-14 08:44:24 +00:00
|
|
|
sha256 = "sha256-qtGPsfZVu5ZuCusO5nYgxR/qHiwyhzMmBMLMDpKzKDA=";
|
2019-07-06 07:40:34 +00:00
|
|
|
};
|
|
|
|
|
2022-05-14 08:44:24 +00:00
|
|
|
vendorSha256 = null;
|
2019-07-06 07:40:34 +00:00
|
|
|
|
2022-05-14 08:44:24 +00:00
|
|
|
postPatch = ''
|
|
|
|
rm -f pkg/config/app_config_test.go
|
|
|
|
'';
|
|
|
|
|
|
|
|
excludedPackages = [ "scripts" "test/printrandom" ];
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
|
2019-07-06 07:40:34 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-07-06 07:40:34 +00:00
|
|
|
description = "A simple terminal UI for both docker and docker-compose";
|
2019-12-05 16:12:19 +00:00
|
|
|
homepage = "https://github.com/jesseduffield/lazydocker";
|
2019-07-06 07:40:34 +00:00
|
|
|
license = licenses.mit;
|
2020-11-17 11:02:06 +00:00
|
|
|
maintainers = with maintainers; [ das-g Br1ght0ne ];
|
2019-07-06 07:40:34 +00:00
|
|
|
};
|
|
|
|
}
|