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