nixpkgs/pkgs/by-name/ta/taktuk/package.nix
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00

36 lines
1.2 KiB
Nix

{ lib, stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
version = "3.7.7";
pname = "taktuk";
buildInputs = [ perl ];
src = fetchurl {
url = "https://gforge.inria.fr/frs/download.php/33412/${pname}-${version}.tar.gz";
sha256 = "0w0h3ynlcxvq2nzm8hkj20g0805ww3vkw53g0qwj7wvp7p3gcvnr";
};
preBuild = ''
substituteInPlace ./taktuk --replace "/usr/bin/perl" "${perl}/bin/perl"
'';
meta = {
description = "Efficient, large scale, parallel remote execution of commands";
mainProgram = "taktuk";
longDescription = ''
TakTuk allows one to execute commands in parallel on a potentially large set
of remote nodes (using ssh to connect to each node). It is typically used
inside high performance computing clusters and grids. It uses an adaptive
algorithm to efficiently distribute the work and sets up an interconnection
network to transport commands and perform I/Os multiplexing. It doesn't
require any specific software on the nodes thanks to a self-propagation
algorithm.'';
homepage = "http://taktuk.gforge.inria.fr/";
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.bzizou ];
platforms = lib.platforms.linux;
};
}