2022-06-16 17:23:12 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "autospotting";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "unstable-2023-07-03";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2023-07-15 17:15:38 +00:00
|
|
|
owner = "LeanerCloud";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "AutoSpotting";
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = "6b08f61d72eafddf01bb68ccb789505f1c7be3eb";
|
|
|
|
hash = "sha256-gW8AIPqwNXfjsPxPv/5+gF374wTw8iavhjmlG4Onkxg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
vendorHash = "sha256-RuBchKainwE6RM3AphKWjndGZc1nh7A/Xxcacq1r7Nk=";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
excludedPackages = [ "scripts" ];
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Automatically convert your existing AutoScaling groups to up to 90% cheaper spot instances with minimal configuration changes";
|
2022-06-16 17:23:12 +00:00
|
|
|
homepage = "https://github.com/cloudutil/AutoSpotting";
|
|
|
|
license = licenses.osl3;
|
|
|
|
maintainers = with maintainers; [ costrouc ];
|
2022-04-27 09:35:20 +00:00
|
|
|
mainProgram = "AutoSpotting";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|