nixpkgs/pkgs/applications/networking/cluster/kanif/default.nix

36 lines
1.4 KiB
Nix
Raw Normal View History

2021-01-15 05:42:41 +00:00
{ lib, stdenv, fetchurl, perl , taktuk}:
2016-03-04 11:02:28 +00:00
stdenv.mkDerivation rec {
version = "1.2.2";
pname = "kanif";
2016-03-04 11:02:28 +00:00
src = fetchurl {
url = "https://gforge.inria.fr/frs/download.php/26773/${pname}-${version}.tar.gz";
2016-03-04 11:02:28 +00:00
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";
2021-01-15 05:42:41 +00:00
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.bzizou ];
platforms = lib.platforms.linux;
2016-03-04 11:02:28 +00:00
};
}