commit c2d4ada65fe3a5eeb4274b3ea11b53b332f5c73a
parent 103c3b1b8e220d2008132d7d2c95e9bc4e8615ca
Author: Vincent Demeester <vincent@sbr.pm>
Date: Wed, 9 Dec 2020 16:01:54 +0100
pkg/ko: switch to go modules
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/pkgs/ko/default.nix b/pkgs/ko/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
+{ stdenv, lib, buildGoModule, fetchFromGitHub }:
-buildGoPackage rec {
+buildGoModule rec {
pname = "ko";
name = "${pname}-${version}";
version = "0.6.2";
@@ -13,6 +13,9 @@ buildGoPackage rec {
rev = "v${version}";
sha256 = "0r8lwr431zlf04yr8avaw7kxf4bz0hrrdv493knla66qbyzj9fsx";
};
+ vendorSha256 = null;
+ # TestGoBuild{,Index} doesn't work because it assumes a .git
+ doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/google/ko;