Merge pull request #172994 from aaronjheng/lazydocker

lazydocker: 0.13 -> 0.18.1
main
Mario Rodas 2 years ago committed by GitHub
commit a7fce6c2e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      pkgs/tools/misc/lazydocker/default.nix
  2. 4
      pkgs/top-level/all-packages.nix

@ -1,19 +1,25 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "lazydocker";
version = "0.13";
version = "0.18.1";
src = fetchFromGitHub {
owner = "jesseduffield";
repo = "lazydocker";
rev = "v${version}";
sha256 = "sha256-thUm33AdP9Huc2vcTRatC1ULHZd0edEQggEGTqOV3a0=";
sha256 = "sha256-qtGPsfZVu5ZuCusO5nYgxR/qHiwyhzMmBMLMDpKzKDA=";
};
goPackagePath = "github.com/jesseduffield/lazydocker";
vendorSha256 = null;
subPackages = [ "." ];
postPatch = ''
rm -f pkg/config/app_config_test.go
'';
excludedPackages = [ "scripts" "test/printrandom" ];
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
meta = with lib; {
description = "A simple terminal UI for both docker and docker-compose";

@ -750,7 +750,9 @@ with pkgs;
installShellFiles = callPackage ../build-support/install-shell-files {};
lazydocker = callPackage ../tools/misc/lazydocker { };
lazydocker = callPackage ../tools/misc/lazydocker {
buildGoModule = buildGo118Module;
};
ld-is-cc-hook = makeSetupHook { name = "ld-is-cc-hook"; }
../build-support/setup-hooks/ld-is-cc-hook.sh;

Loading…
Cancel
Save