2023-09-18 19:58:14 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, lazydocker, testers }:
|
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";
|
2024-05-26 13:11:58 +00:00
|
|
|
version = "0.23.3";
|
2019-07-06 07:40:34 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jesseduffield";
|
|
|
|
repo = "lazydocker";
|
|
|
|
rev = "v${version}";
|
2024-05-26 13:11:58 +00:00
|
|
|
sha256 = "sha256-1nw0X8sZBtBsxlEUDVYMAinjMEMlIlzjJ4s+WApeE6o=";
|
2019-07-06 07:40:34 +00:00
|
|
|
};
|
|
|
|
|
2023-07-25 06:54:06 +00:00
|
|
|
vendorHash = 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
|
|
|
|
2023-09-18 19:58:14 +00:00
|
|
|
passthru.tests.version = testers.testVersion {
|
|
|
|
package = lazydocker;
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2024-06-07 07:46:46 +00:00
|
|
|
description = "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 ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "lazydocker";
|
2019-07-06 07:40:34 +00:00
|
|
|
};
|
|
|
|
}
|