commit
1e1e27b059
31
pkgs/development/tools/ko/default.nix
Normal file
31
pkgs/development/tools/ko/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, git
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ko";
|
||||
version = "0.8.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-LoOXZY4uF7GSS3Dh/ozCsLJTxgmPmZZuEisJ4ShjCBc=";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
excludedPackages = "test";
|
||||
checkInputs = [ git ];
|
||||
preCheck = ''
|
||||
git init
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple, fast container image builder for Go applications.";
|
||||
homepage = "https://github.com/google/ko";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ nickcao ];
|
||||
};
|
||||
}
|
@ -13793,6 +13793,8 @@ in
|
||||
|
||||
khronos-ocl-icd-loader = callPackage ../development/libraries/khronos-ocl-icd-loader { };
|
||||
|
||||
ko = callPackage ../development/tools/ko { };
|
||||
|
||||
krankerl = callPackage ../development/tools/krankerl { };
|
||||
|
||||
krew = callPackage ../development/tools/krew { };
|
||||
|
Loading…
Reference in New Issue
Block a user