about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/virtualization/marathonctl/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/virtualization/marathonctl/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/virtualization/marathonctl/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/virtualization/marathonctl/default.nix b/nixpkgs/pkgs/tools/virtualization/marathonctl/default.nix
new file mode 100644
index 000000000000..fe31c64952a5
--- /dev/null
+++ b/nixpkgs/pkgs/tools/virtualization/marathonctl/default.nix
@@ -0,0 +1,24 @@
+{ lib, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage {
+  pname = "marathonctl-unstable";
+  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 lib; {
+    homepage = "https://github.com/shoenig/marathonctl";
+    description = "CLI tool for Marathon";
+    license = licenses.mit;
+    maintainers = with maintainers; [ manveru ];
+  };
+}