summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster
diff options
context:
space:
mode:
authorBruno Bzeznik Bruno.Bzeznik@imag.fr <Bruno.Bzeznik@imag.fr>2016-03-04 12:02:28 +0100
committerBruno Bzeznik Bruno.Bzeznik@imag.fr <Bruno.Bzeznik@imag.fr>2016-03-04 12:22:29 +0100
commit15c4167d28a543b53b5f8021a0e22bf8bd4c4947 (patch)
treee7ce0cc88da031024cc9bb8038718f8f4941c573 /pkgs/applications/networking/cluster
parentdef18c2408809a6859ef37bf649bef560c75ae6e (diff)
downloadnixpkgs-15c4167d28a543b53b5f8021a0e22bf8bd4c4947.tar
nixpkgs-15c4167d28a543b53b5f8021a0e22bf8bd4c4947.tar.gz
nixpkgs-15c4167d28a543b53b5f8021a0e22bf8bd4c4947.tar.bz2
nixpkgs-15c4167d28a543b53b5f8021a0e22bf8bd4c4947.tar.lz
nixpkgs-15c4167d28a543b53b5f8021a0e22bf8bd4c4947.tar.xz
nixpkgs-15c4167d28a543b53b5f8021a0e22bf8bd4c4947.tar.zst
nixpkgs-15c4167d28a543b53b5f8021a0e22bf8bd4c4947.zip
kanif: init at 1.2.2
Diffstat (limited to 'pkgs/applications/networking/cluster')
-rw-r--r--pkgs/applications/networking/cluster/kanif/default.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/kanif/default.nix b/pkgs/applications/networking/cluster/kanif/default.nix
new file mode 100644
index 00000000000..bac0cc37af3
--- /dev/null
+++ b/pkgs/applications/networking/cluster/kanif/default.nix
@@ -0,0 +1,37 @@
+{ stdenv, fetchurl, perl , taktuk}:
+
+stdenv.mkDerivation rec {
+  version = "1.2.2";
+  name = "kanif-${version}";
+
+  propagateBuildInputs = [ perl taktuk ];
+
+  src = fetchurl {
+    url = "http://gforge.inria.fr/frs/download.php/26773/${name}.tar.gz";
+    sha256 = "3f0c549428dfe88457c1db293cfac2a22b203f872904c3abf372651ac12e5879";
+  };
+
+  preBuild = ''
+      substituteInPlace ./kanif --replace "/usr/bin/perl" "${perl}/bin/perl"
+      substituteInPlace ./kanif --replace '$taktuk_command = "taktuk";' '$taktuk_command = "${taktuk}/bin/taktuk";'
+  '';
+
+  meta = {
+    description = "Cluster management and administration swiss army knife";
+    longDescription = ''
+      Kanif is a tool for high performance computing clusters management and
+      administration. It combines the main functionalities of well-known cluster
+      management tools such as c3, pdsh and dsh, and mimics their syntax. It
+      provides three tools to run the same command on several nodes ("parallel
+      ssh", using the 'kash' command), to broadcast the copy of files or
+      directories to several nodes ('kaput' command), and to gather several
+      remote files or directories locally ('kaget' command). It relies on TakTuk
+      for efficiency and scalability.'';
+    homepage = http://taktuk.gforge.inria.fr/kanif;
+    license = stdenv.lib.licenses.gpl2;
+    maintainers = [ stdenv.lib.maintainers.bzizou ];
+    platforms = stdenv.lib.platforms.linux;
+  };
+
+}
+