1 { lib, buildGoModule, fetchFromGitHub }:
4 pname = "autospotting";
5 version = "unstable-2023-07-03";
7 src = fetchFromGitHub {
10 rev = "6b08f61d72eafddf01bb68ccb789505f1c7be3eb";
11 hash = "sha256-gW8AIPqwNXfjsPxPv/5+gF374wTw8iavhjmlG4Onkxg=";
14 vendorHash = "sha256-RuBchKainwE6RM3AphKWjndGZc1nh7A/Xxcacq1r7Nk=";
16 excludedPackages = [ "scripts" ];
18 ldflags = [ "-s" "-w" ];
21 description = "Automatically convert your existing AutoScaling groups to up to 90% cheaper spot instances with minimal configuration changes";
22 homepage = "https://github.com/cloudutil/AutoSpotting";
23 license = licenses.osl3;
24 maintainers = with maintainers; [ costrouc ];
25 mainProgram = "AutoSpotting";