2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-10-28 06:01:32 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "firectl";
|
|
|
|
version = "0.1.0";
|
|
|
|
|
2020-05-01 03:59:00 +02:00
|
|
|
patches = [ ./gomod.patch ];
|
|
|
|
|
2019-10-28 06:01:32 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "firecracker-microvm";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1ni3yx4rjhrkqk2038c6hkb2jwsdj2llx233wd5wgpvb6c57652p";
|
|
|
|
};
|
|
|
|
|
2020-05-01 03:59:00 +02:00
|
|
|
vendorSha256 = "1xbpck1gvzl75xgrajf5yzl199l4f2f6j3mac5586i7b00b9jxqj";
|
2019-10-28 06:01:32 +01:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-10-28 06:01:32 +01:00
|
|
|
description = "A command-line tool to run Firecracker microVMs";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/firecracker-microvm/firectl";
|
2019-10-28 06:01:32 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ xrelkd ];
|
|
|
|
};
|
2020-07-31 05:58:04 +02:00
|
|
|
}
|