mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 02:23:54 +00:00
4f0dadbf38
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-builda08b3a4d19
.tar.gz \ --argstr baseRevb32a094368
result/bin/apply-formatting $NIXPKGS_PATH
41 lines
1.4 KiB
Nix
41 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
perl,
|
|
taktuk,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.2.2";
|
|
pname = "kanif";
|
|
|
|
src = fetchurl {
|
|
url = "https://gforge.inria.fr/frs/download.php/26773/${pname}-${version}.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 = lib.licenses.gpl2;
|
|
maintainers = [ lib.maintainers.bzizou ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
|
|
}
|