Skip to content

Commit

Permalink
taktuk: cleanup (#372102)
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank authored Jan 11, 2025
2 parents 4e0d1ee + 39be615 commit e636b63
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions pkgs/by-name/ta/taktuk/package.nix
Original file line number Diff line number Diff line change
@@ -1,23 +1,39 @@
{
lib,
stdenv,
fetchurl,
autoreconfHook,
fetchFromGitLab,
perl,
buildPackages,
}:

stdenv.mkDerivation rec {
version = "3.7.7";
pname = "taktuk";

nativeBuildInputs = [
autoreconfHook
perl # pod2man pod2html
];

buildInputs = [ perl ];

src = fetchurl {
url = "https://gforge.inria.fr/frs/download.php/33412/${pname}-${version}.tar.gz";
sha256 = "0w0h3ynlcxvq2nzm8hkj20g0805ww3vkw53g0qwj7wvp7p3gcvnr";
src = fetchFromGitLab {
domain = "gitlab.inria.fr";
owner = "taktuk";
repo = "taktuk";
rev = "dcd763e389a414f540b43674cbc63752176f1ce3"; # does not tag releases
hash = "sha256-CerOBn1VDiKFLaW2WXv6wLxfcqy1H3dlF70lrequbog=";
};

preBuild = ''
substituteInPlace ./taktuk --replace "/usr/bin/perl" "${perl}/bin/perl"
substituteInPlace ./taktuk --replace-fail "/usr/bin/perl" "${lib.getExe buildPackages.perl}"
'';

enableParallelBuilding = true;

preFixup = ''
substituteInPlace ./taktuk --replace-fail "${lib.getExe buildPackages.perl}" "/usr/bin/env perl"
'';

meta = {
Expand All @@ -31,7 +47,8 @@ stdenv.mkDerivation rec {
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/";
homepage = "https://taktuk.gitlabpages.inria.fr/";
changelog = "https://gitlab.inria.fr/taktuk/taktuk/-/blob/HEAD/ChangeLog";
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.bzizou ];
platforms = lib.platforms.linux;
Expand Down

0 comments on commit e636b63

Please sign in to comment.