go-modules: Update files to use vendorSha256
This commit is contained in:
@@ -4,6 +4,8 @@ buildGoModule rec {
|
||||
pname = "firectl";
|
||||
version = "0.1.0";
|
||||
|
||||
patches = [ ./gomod.patch ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "firecracker-microvm";
|
||||
repo = pname;
|
||||
@@ -11,7 +13,7 @@ buildGoModule rec {
|
||||
sha256 = "1ni3yx4rjhrkqk2038c6hkb2jwsdj2llx233wd5wgpvb6c57652p";
|
||||
};
|
||||
|
||||
modSha256 = "1nqjz1afklcxc3xcpmygjdh3lfxjk6zvmghr8z8fr3nw2wvw2ddr";
|
||||
vendorSha256 = "1xbpck1gvzl75xgrajf5yzl199l4f2f6j3mac5586i7b00b9jxqj";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A command-line tool to run Firecracker microVMs";
|
||||
@@ -20,4 +22,4 @@ buildGoModule rec {
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ xrelkd ];
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
diff --git a/go.mod b/go.mod
|
||||
index 1044001..7bafeda 100644
|
||||
--- a/go.mod
|
||||
+++ b/go.mod
|
||||
@@ -1,7 +1,10 @@
|
||||
module github.com/firecracker-microvm/firectl
|
||||
|
||||
+go 1.14
|
||||
+
|
||||
require (
|
||||
github.com/firecracker-microvm/firecracker-go-sdk v0.15.1
|
||||
+ github.com/go-openapi/strfmt v0.17.1
|
||||
github.com/jessevdk/go-flags v1.4.0
|
||||
github.com/pkg/errors v0.8.0
|
||||
github.com/sirupsen/logrus v1.1.1
|
||||
Reference in New Issue
Block a user