Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / autospotting / default.nix
blob0018102bd8176af573d7fa16b93fd512fbea14a1
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "autospotting";
5   version = "unstable-2023-07-03";
7   src = fetchFromGitHub {
8     owner = "LeanerCloud";
9     repo = "AutoSpotting";
10     rev = "6b08f61d72eafddf01bb68ccb789505f1c7be3eb";
11     hash = "sha256-gW8AIPqwNXfjsPxPv/5+gF374wTw8iavhjmlG4Onkxg=";
12   };
14   vendorHash = "sha256-RuBchKainwE6RM3AphKWjndGZc1nh7A/Xxcacq1r7Nk=";
16   excludedPackages = [ "scripts" ];
18   ldflags = [ "-s" "-w" ];
20   meta = with lib; {
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";
26   };