diff --git a/pkgs/tools/virtualization/marathonctl/default.nix b/pkgs/tools/virtualization/marathonctl/default.nix new file mode 100644 index 000000000000..66618e59122a --- /dev/null +++ b/pkgs/tools/virtualization/marathonctl/default.nix @@ -0,0 +1,25 @@ +{ stdenv, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + name = "marathonctl-unstable-${version}"; + version = "2017-03-06"; + + goPackagePath = "github.com/shoenig/marathonctl"; + subPackages = [ "." ]; + goDeps = ./deps.nix; + + src = fetchFromGitHub { + owner = "shoenig"; + repo = "marathonctl"; + rev = "0867e66551fff5d81f25959baf914a8ee11a3a8b"; + sha256 = "1fcc54hwpa8s3kz4gn26mc6nrv6zjrw869331nvm47khi23gpmxw"; + }; + + meta = with stdenv.lib; { + homepage = https://github.com/shoenig/marathonctl; + description = "CLI tool for Marathon"; + platforms = platforms.all; + license = licenses.mit; + maintainers = with maintainers; [ manveru ]; + }; +} diff --git a/pkgs/tools/virtualization/marathonctl/deps.nix b/pkgs/tools/virtualization/marathonctl/deps.nix new file mode 100644 index 000000000000..39efaab95358 --- /dev/null +++ b/pkgs/tools/virtualization/marathonctl/deps.nix @@ -0,0 +1,12 @@ +# This file was generated by go2nix. +[ + { + goPackagePath = "github.com/shoenig/config"; + fetch = { + type = "git"; + url = "https://github.com/shoenig/config"; + rev = "7d793e7ad7f175ef22743b1ea38acee8267788db"; + sha256 = "1dhcv1j5xk30kj73dfnx3xqx8mcvk9r8ywp9khgf2kq6wh9sm1qr"; + }; + } +] diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2c0e8f3ded35..5fe47cdf560b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14396,6 +14396,7 @@ with pkgs; makeself = callPackage ../applications/misc/makeself { }; marathon = callPackage ../applications/networking/cluster/marathon { }; + marathonctl = callPackage ../tools/virtualization/marathonctl { } ; marp = callPackage ../applications/office/marp { };