My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/tools/misc/lazydocker/default.nix

30 lines
741 B

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "lazydocker";
version = "0.18.1";
src = fetchFromGitHub {
owner = "jesseduffield";
repo = "lazydocker";
rev = "v${version}";
sha256 = "sha256-qtGPsfZVu5ZuCusO5nYgxR/qHiwyhzMmBMLMDpKzKDA=";
};
vendorSha256 = null;
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";
homepage = "https://github.com/jesseduffield/lazydocker";
license = licenses.mit;
maintainers = with maintainers; [ das-g Br1ght0ne ];
};
}