2022-04-04 03:15:14 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2017-03-17 20:38:10 +00:00
|
|
|
|
2022-04-04 03:15:14 +00:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "marathonctl";
|
|
|
|
version = "0.0.7";
|
2017-03-17 20:38:10 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "shoenig";
|
|
|
|
repo = "marathonctl";
|
2022-04-04 03:15:14 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-MigmvOwYa0uYPexchS4MP74I1Tp6QHYuQVSOh1+FrMg=";
|
2017-03-17 20:38:10 +00:00
|
|
|
};
|
|
|
|
|
2022-04-04 03:15:14 +00:00
|
|
|
vendorSha256 = "sha256-Oiol4KuPOyJq2Bfc5div+enX4kQqYn20itmwWBecuIg=";
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/shoenig/marathonctl";
|
2017-03-17 20:38:10 +00:00
|
|
|
description = "CLI tool for Marathon";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ manveru ];
|
|
|
|
};
|
|
|
|
}
|