lol

hp2p: unstable-2023-10-25 -> 4.1 (#387247)

authored by

Gaétan Lepage and committed by
GitHub
f4e5a303 f21847f0

+21 -10
+21 -10
pkgs/by-name/hp/hp2p/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchFromGitHub, 5 - mpi, 6 5 python3Packages, 7 6 autoconf, 8 7 automake, 8 + mpi, 9 + nix-update-script, 9 10 }: 10 11 11 - stdenv.mkDerivation rec { 12 + stdenv.mkDerivation (finalAttrs: { 12 13 pname = "hp2p"; 13 - version = "unstable-2023-10-25"; 14 + version = "4.1"; 14 15 15 16 src = fetchFromGitHub { 16 17 owner = "cea-hpc"; 17 18 repo = "hp2p"; 18 - rev = "711f6cc5b4e552d969c2436ad77afd35d31bfd05"; 19 - sha256 = "sha256-mBTJZb3DPmIlL7N+PfjlWmBw0WfFF2DesImVZlbDQKc="; 19 + tag = finalAttrs.version; 20 + hash = "sha256-Rrqb6M9E3WNuxhJXYfBrrv3sFQ2avU33gLZNUtU9Yuc="; 20 21 }; 21 22 22 23 enableParallelBuilding = true; ··· 44 45 wrapPythonPrograms 45 46 ''; 46 47 47 - meta = with lib; { 48 + passthru = { 49 + updateScript = nix-update-script { }; 50 + }; 51 + 52 + meta = { 48 53 description = "MPI based benchmark for network diagnostics"; 49 54 homepage = "https://github.com/cea-hpc/hp2p"; 50 - platforms = platforms.unix; 51 - license = licenses.cecill-c; 52 - maintainers = [ maintainers.bzizou ]; 55 + changelog = "https://github.com/cea-hpc/hp2p/releases/tag/${finalAttrs.version}"; 56 + platforms = lib.platforms.unix; 57 + license = lib.licenses.cecill-c; 58 + maintainers = [ lib.maintainers.bzizou ]; 59 + mainProgram = "hp2p.exe"; 60 + badPlatforms = [ 61 + # hp2p_algo_cpp.cpp:38:10: error: no member named 'random_shuffle' in namespace 'std' 62 + lib.systems.inspect.patterns.isDarwin 63 + ]; 53 64 }; 54 - } 65 + })