about summary refs log tree commit diff
path: root/pkgs/tools/system/ctop
diff options
context:
space:
mode:
authorAlexandre Peyroux <alex@xn--wxa.email>2017-05-30 13:10:45 +0200
committerAlexandre Peyroux <alex@xn--wxa.email>2017-05-30 13:10:45 +0200
commit31d5363228989a62cb81fb97f14e33e5051c6ac9 (patch)
treef3d8cbd2c7629175e26d1585c7750b46689a16c2 /pkgs/tools/system/ctop
parente919b2f78f99d56a54062ec6e956caae61b67b35 (diff)
ctop: init at 2017-05-28
Diffstat (limited to 'pkgs/tools/system/ctop')
-rw-r--r--pkgs/tools/system/ctop/default.nix25
-rw-r--r--pkgs/tools/system/ctop/deps.nix120
2 files changed, 145 insertions, 0 deletions
diff --git a/pkgs/tools/system/ctop/default.nix b/pkgs/tools/system/ctop/default.nix
new file mode 100644
index 0000000000000..a0bda0c43355d
--- /dev/null
+++ b/pkgs/tools/system/ctop/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage rec {
+  name = "ctop-unstable-${version}";
+  version = "2017-05-28";
+  rev = "b4e1fbf29073625ec803025158636bdbcf2357f4";
+
+  goPackagePath = "github.com/bcicen/ctop";
+
+  src = fetchFromGitHub {
+    inherit rev;
+    owner = "bcicen";
+    repo = "ctop";
+    sha256 = "162pc7gds66cgznqlq9gywr0qij5pymn7xszlq9rn4w2fm64qgg3";
+  };
+
+  goDeps = ./deps.nix;
+
+  meta = with stdenv.lib; {
+    description = "Concise commandline monitoring for containers";
+    homepage = "http://ctop.sh/";
+    license = licenses.mit;
+    maintainers = with maintainers; [ apeyroux ];
+  };
+}
diff --git a/pkgs/tools/system/ctop/deps.nix b/pkgs/tools/system/ctop/deps.nix
new file mode 100644
index 0000000000000..4fb75cdcd3df5
--- /dev/null
+++ b/pkgs/tools/system/ctop/deps.nix
@@ -0,0 +1,120 @@
+# This file was generated by https://github.com/kamilchm/go2nix v1.2.0
+[
+  {
+    goPackagePath = "github.com/docker/docker";
+    fetch = {
+      type = "git";
+      url = "https://github.com/docker/docker";
+      rev = "599f207b45e74648a8a6a7ac87d77e40930504e9";
+      sha256 = "1n0r9ahcx5h2f97ap5fy5hgnpamzzrgihknx7wgvvpm4hrzxm31r";
+    };
+  }
+  {
+    goPackagePath = "github.com/docker/go-units";
+    fetch = {
+      type = "git";
+      url = "https://github.com/docker/go-units";
+      rev = "0dadbb0345b35ec7ef35e228dabb8de89a65bf52";
+      sha256 = "1sqwvcszxqpv77xf2d8fxvryxphdwj9v8f93231wpnk9kpilhyii";
+    };
+  }
+  {
+    goPackagePath = "github.com/fsouza/go-dockerclient";
+    fetch = {
+      type = "git";
+      url = "https://github.com/fsouza/go-dockerclient";
+      rev = "c933ed18bef34ec2955de03de8ef9a3bb996e3df";
+      sha256 = "1qci2m5ifmz3lcmc4y6k9baz9z1i77xnrrcq6zi9mpclhhfr0qzd";
+    };
+  }
+  {
+    goPackagePath = "github.com/gizak/termui";
+    fetch = {
+      type = "git";
+      url = "https://github.com/gizak/termui";
+      rev = "ea10e6ccee219e572ffad0ac1909f1a17f6db7d6";
+      sha256 = "1nxihx4vwxwgq3vnccc8a1v34raqvvsl0p10v1nlvs61rjvs9g32";
+    };
+  }
+  {
+    goPackagePath = "github.com/hashicorp/go-cleanhttp";
+    fetch = {
+      type = "git";
+      url = "https://github.com/hashicorp/go-cleanhttp";
+      rev = "3573b8b52aa7b37b9358d966a898feb387f62437";
+      sha256 = "1pbl6p7w5wp1c70x7fp94h4ynk2ajfa76rqin3d2hq1w2fcb7byr";
+    };
+  }
+  {
+    goPackagePath = "github.com/jgautheron/codename-generator";
+    fetch = {
+      type = "git";
+      url = "https://github.com/jgautheron/codename-generator";
+      rev = "16d037c7cc3c9b552fe4af9828b7338d752dbaf9";
+      sha256 = "0v6fji5swnrdjlp3bahv65chnbhxzl25j3hwwnyvvbb4iwa9a376";
+    };
+  }
+  {
+    goPackagePath = "github.com/maruel/panicparse";
+    fetch = {
+      type = "git";
+      url = "https://github.com/maruel/panicparse";
+      rev = "ae43f192cef2add653fe1481a3070ed00a4a6981";
+      sha256 = "11q8v4adbrazqvh24235s5nifck0d1083gbwv4dh5lhd10xlwdvr";
+    };
+  }
+  {
+    goPackagePath = "github.com/mattn/go-runewidth";
+    fetch = {
+      type = "git";
+      url = "https://github.com/mattn/go-runewidth";
+      rev = "97311d9f7767e3d6f422ea06661bc2c7a19e8a5d";
+      sha256 = "0dxlrzn570xl7gb11hjy1v4p3gw3r41yvqhrffgw95ha3q9p50cg";
+    };
+  }
+  {
+    goPackagePath = "github.com/mitchellh/go-wordwrap";
+    fetch = {
+      type = "git";
+      url = "https://github.com/mitchellh/go-wordwrap";
+      rev = "ad45545899c7b13c020ea92b2072220eefad42b8";
+      sha256 = "0ny1ddngvwfj3njn7pmqnf3l903lw73ynddw15x8ymp7hidv27v9";
+    };
+  }
+  {
+    goPackagePath = "github.com/nsf/termbox-go";
+    fetch = {
+      type = "git";
+      url = "https://github.com/nsf/termbox-go";
+      rev = "7994c181db7761ca3c67a217068cf31826113f5f";
+      sha256 = "0ssc54wamn3h8z68kv4fdgvk3kjii95psi2kk0slsilmg5v6jzhj";
+    };
+  }
+  {
+    goPackagePath = "github.com/nu7hatch/gouuid";
+    fetch = {
+      type = "git";
+      url = "https://github.com/nu7hatch/gouuid";
+      rev = "179d4d0c4d8d407a32af483c2354df1d2c91e6c3";
+      sha256 = "1isyfix5w1wm26y3a15ha3nnpsxqaxz5ngq06hnh6c6y0inl2fwj";
+    };
+  }
+  {
+    goPackagePath = "github.com/op/go-logging";
+    fetch = {
+      type = "git";
+      url = "https://github.com/op/go-logging";
+      rev = "970db520ece77730c7e4724c61121037378659d9";
+      sha256 = "1cpna2x5l071z1vrnk7zipdkka8dzwsjyx7m79xk0lr08rip0kcj";
+    };
+  }
+  {
+    goPackagePath = "golang.org/x/net";
+    fetch = {
+      type = "git";
+      url = "https://go.googlesource.com/net";
+      rev = "3da985ce5951d99de868be4385f21ea6c2b22f24";
+      sha256 = "0mhqa53pyj9gxg4m0c9s0f4r5jp0rihlni1nrpkd1d921xxzh714";
+    };
+  }
+]