depot/third_party/nixpkgs/pkgs/development/tools/ko/default.nix
Default email 5b567aa208 Project import generated by Copybara.
GitOrigin-RevId: 16105403bdd843540cbef9c63fc0f16c1c6eaa70
2021-07-21 09:28:18 +02:00

31 lines
621 B
Nix

{ 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 ];
};
}