From 9ffc04786fdaff984294ad491df2c24cf604d078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Bon=C3=A9?= Date: Tue, 30 Sep 2025 15:10:38 +0200 Subject: [PATCH] Add meta to packages --- pkgs/bench6/default.nix | 9 +++++++++ pkgs/bigotes/default.nix | 9 +++++++++ pkgs/extrae/default.nix | 8 ++++++++ pkgs/gpi-2/default.nix | 9 +++++++++ pkgs/intel-compiler/icc2020.nix | 9 +++++++++ pkgs/intel-compiler/icc2021.nix | 8 ++++++++ pkgs/intel-mpi/default.nix | 9 +++++++++ pkgs/mcxx/default.nix | 9 +++++++++ pkgs/mcxx/git.nix | 9 +++++++++ pkgs/mcxx/rarias.nix | 9 +++++++++ pkgs/mpich/default.nix | 4 ++++ pkgs/nanos6/default.nix | 7 ++++--- pkgs/nanos6/jemalloc.nix | 3 ++- pkgs/nix-wrap/default.nix | 9 +++++++++ pkgs/nixtools/default.nix | 9 +++++++++ pkgs/nodes/default.nix | 8 ++++++++ pkgs/nosv/default.nix | 8 ++++++++ pkgs/ovni/default.nix | 8 ++++++++ pkgs/paraver/default.nix | 9 +++++++++ pkgs/sonar/default.nix | 9 +++++++++ pkgs/tagaspi/default.nix | 9 +++++++++ pkgs/tampi/default.nix | 8 ++++++++ 22 files changed, 175 insertions(+), 4 deletions(-) diff --git a/pkgs/bench6/default.nix b/pkgs/bench6/default.nix index 35eb4151..75674947 100644 --- a/pkgs/bench6/default.nix +++ b/pkgs/bench6/default.nix @@ -1,5 +1,6 @@ { stdenv +, lib , bigotes , cmake , clangOmpss2 @@ -58,4 +59,12 @@ stdenv.mkDerivation rec { ]; hardeningDisable = [ "all" ]; dontStrip = true; + + meta = { + homepage = "https://gitlab.pm.bsc.es/rarias/bench6"; + description = "Set of micro-benchmarks for OmpSs-2 and several mini-apps"; + maintainers = with lib.maintainers.bsc; [ rarias ]; + platforms = lib.platforms.linux; + license = lib.licenses.gpl3; + }; } diff --git a/pkgs/bigotes/default.nix b/pkgs/bigotes/default.nix index 3c0bf08c..9364909f 100644 --- a/pkgs/bigotes/default.nix +++ b/pkgs/bigotes/default.nix @@ -1,5 +1,6 @@ { stdenv +, lib , fetchFromGitHub , cmake }: @@ -14,4 +15,12 @@ stdenv.mkDerivation { sha256 = "sha256-ktxM3pXiL8YXSK+/IKWYadijhYXqGoLY6adLk36iigE="; }; nativeBuildInputs = [ cmake ]; + + meta = { + homepage = "https://github.com/rodarima/bigotes"; + description = "Versatile benchmark tool"; + maintainers = with lib.maintainers.bsc; [ rarias ]; + platforms = lib.platforms.linux; + license = lib.licenses.gpl3; + }; } diff --git a/pkgs/extrae/default.nix b/pkgs/extrae/default.nix index a6827076..91cf2b62 100644 --- a/pkgs/extrae/default.nix +++ b/pkgs/extrae/default.nix @@ -111,4 +111,12 @@ stdenv.mkDerivation rec { # then [ "--enable-openmp" ] # else [] # ); + + meta = { + homepage = "https://github.com/bsc-performance-tools/extrae"; + description = "Instrumentation framework to generate execution traces of the most used parallel runtimes"; + maintainers = with lib.maintainers.bsc; [ rarias ]; + platforms = lib.platforms.linux; + license = lib.licenses.lgpl21Plus; + }; } diff --git a/pkgs/gpi-2/default.nix b/pkgs/gpi-2/default.nix index 007cf807..9dbd7c70 100644 --- a/pkgs/gpi-2/default.nix +++ b/pkgs/gpi-2/default.nix @@ -1,5 +1,6 @@ { stdenv +, lib , fetchurl , symlinkJoin , slurm @@ -52,4 +53,12 @@ stdenv.mkDerivation rec { buildInputs = [ slurm mpiAll rdma-core-all autoconf automake libtool rsync gfortran ]; hardeningDisable = [ "all" ]; + + meta = { + homepage = "https://pm.bsc.es/gitlab/interoperability/extern/GPI-2"; + description = "GPI-2 extended for supporting Task-Aware GASPI (TAGASPI) library"; + maintainers = with lib.maintainers.bsc; [ rarias ]; + platforms = lib.platforms.linux; + license = lib.licenses.gpl3; + }; } diff --git a/pkgs/intel-compiler/icc2020.nix b/pkgs/intel-compiler/icc2020.nix index 9f7ea467..94f1b2a5 100644 --- a/pkgs/intel-compiler/icc2020.nix +++ b/pkgs/intel-compiler/icc2020.nix @@ -1,4 +1,5 @@ { stdenv +, lib , fetchurl , rpmextract , autoPatchelfHook @@ -59,4 +60,12 @@ stdenv.mkDerivation rec { rm $out/lib/*.dbg popd ''; + + meta = { + homepage = "https://www.intel.com/content/www/us/en/developer/tools/overview.html"; + description = "Intel compiler"; + maintainers = with lib.maintainers.bsc; [ rarias ]; + platforms = lib.platforms.linux; + license = lib.licenses.unfree; + }; } diff --git a/pkgs/intel-compiler/icc2021.nix b/pkgs/intel-compiler/icc2021.nix index 076da543..8f2956d3 100644 --- a/pkgs/intel-compiler/icc2021.nix +++ b/pkgs/intel-compiler/icc2021.nix @@ -145,4 +145,12 @@ in popd ''; + meta = { + homepage = "https://www.intel.com/content/www/us/en/developer/tools/overview.html"; + description = "Intel compiler"; + maintainers = with lib.maintainers.bsc; [ rarias ]; + platforms = lib.platforms.linux; + license = lib.licenses.unfree; + }; + } diff --git a/pkgs/intel-mpi/default.nix b/pkgs/intel-mpi/default.nix index c2740a49..5075afe2 100644 --- a/pkgs/intel-mpi/default.nix +++ b/pkgs/intel-mpi/default.nix @@ -1,4 +1,5 @@ { stdenv +, lib , rpmextract , gcc , zlib @@ -101,4 +102,12 @@ stdenv.mkDerivation rec { patchelf --set-rpath "$out/lib:${rdma-core}/lib:${libpsm2}/lib" $out/lib/libfabric.so echo "Patched RPATH in libfabric.so to: $(patchelf --print-rpath $out/lib/libfabric.so)" ''; + + meta = { + homepage = "https://www.intel.com/content/www/us/en/developer/tools/overview.html"; + description = "Intel compiler"; + maintainers = with lib.maintainers.bsc; [ rarias ]; + platforms = lib.platforms.linux; + license = lib.licenses.unfree; + }; } diff --git a/pkgs/mcxx/default.nix b/pkgs/mcxx/default.nix index b1da0f54..055bfd36 100644 --- a/pkgs/mcxx/default.nix +++ b/pkgs/mcxx/default.nix @@ -1,5 +1,6 @@ { stdenv +, lib , fetchFromGitHub , autoreconfHook , nanos6 @@ -62,4 +63,12 @@ stdenv.mkDerivation rec { # Fails with "memory exhausted" with bison 3.7.1 # "--enable-bison-regeneration" ]; + + meta = { + homepage = "https://github.com/bsc-pm/mcxx"; + description = "C/C++/Fortran source-to-source compilation infrastructure aimed at fast prototyping"; + maintainers = with lib.maintainers.bsc; [ rpenacob ]; + platforms = lib.platforms.linux; + license = lib.licenses.gpl3Plus; + }; } diff --git a/pkgs/mcxx/git.nix b/pkgs/mcxx/git.nix index e417630c..d4721784 100644 --- a/pkgs/mcxx/git.nix +++ b/pkgs/mcxx/git.nix @@ -1,5 +1,6 @@ { stdenv +, lib , fetchFromGitHub , autoreconfHook , nanos6 @@ -57,4 +58,12 @@ stdenv.mkDerivation rec { # Fails with "memory exhausted" with bison 3.7.1 # "--enable-bison-regeneration" ]; + + meta = { + homepage = "https://github.com/bsc-pm/mcxx"; + description = "C/C++/Fortran source-to-source compilation infrastructure aimed at fast prototyping"; + maintainers = with lib.maintainers.bsc; [ rpenacob ]; + platforms = lib.platforms.linux; + license = lib.licenses.gpl3Plus; + }; } diff --git a/pkgs/mcxx/rarias.nix b/pkgs/mcxx/rarias.nix index 25ad8eab..dad3ec73 100644 --- a/pkgs/mcxx/rarias.nix +++ b/pkgs/mcxx/rarias.nix @@ -1,4 +1,5 @@ { stdenv +, lib , fetchgit , autoreconfHook , nanos6 @@ -56,4 +57,12 @@ stdenv.mkDerivation rec { #preBuild = '' # make generate_builtins_ia32 GXX_X86_BUILTINS=${gcc}/bin/g++ #''; + # + meta = { + homepage = "https://github.com/bsc-pm/mcxx"; + description = "C/C++/Fortran source-to-source compilation infrastructure aimed at fast prototyping"; + maintainers = with lib.maintainers.bsc; [ rarias ]; + platforms = lib.platforms.linux; + license = lib.licenses.gpl3Plus; + }; } diff --git a/pkgs/mpich/default.nix b/pkgs/mpich/default.nix index 4b5307ab..1afa9b71 100644 --- a/pkgs/mpich/default.nix +++ b/pkgs/mpich/default.nix @@ -33,4 +33,8 @@ in mpich.overrideAttrs (old: { "FCFLAGS=-fallow-argument-mismatch" ]; hardeningDisable = [ "all" ]; + + meta = old.meta // { + maintainers = old.meta.maintainers ++ (with lib.maintainers.bsc; [ rarias ]); + }; }) diff --git a/pkgs/nanos6/default.nix b/pkgs/nanos6/default.nix index ea84ccea..fb0cda5a 100644 --- a/pkgs/nanos6/default.nix +++ b/pkgs/nanos6/default.nix @@ -119,11 +119,12 @@ in echo "export NANOS6_HOME=$out" >> $out/nix-support/setup-hook ''; - meta = with lib; { + meta = { homepage = "https://github.com/bsc-pm/nanos6"; description = "Nanos6 runtime for OmpSs-2" + optionalString (enableDebug) " (with debug symbols)"; - platforms = platforms.linux; - license = licenses.gpl3; + maintainers = with lib.maintainers.bsc; [ rarias ]; + platforms = lib.latforms.linux; + license = lib.licenses.gpl3; }; }) diff --git a/pkgs/nanos6/jemalloc.nix b/pkgs/nanos6/jemalloc.nix index 59ee8570..0eb35197 100644 --- a/pkgs/nanos6/jemalloc.nix +++ b/pkgs/nanos6/jemalloc.nix @@ -1,4 +1,4 @@ -{ jemalloc }: +{ jemalloc, lib }: jemalloc.overrideAttrs (old: { configureFlags = old.configureFlags ++ [ @@ -8,5 +8,6 @@ jemalloc.overrideAttrs (old: { hardeningDisable = [ "all" ]; meta = old.meta // { description = old.meta.description + " (for Nanos6)"; + maintainers = (old.meta.maintainers or []) ++ (with lib.maintainers.bsc; [ rarias ]); }; }) diff --git a/pkgs/nix-wrap/default.nix b/pkgs/nix-wrap/default.nix index 587be820..d33c1e19 100644 --- a/pkgs/nix-wrap/default.nix +++ b/pkgs/nix-wrap/default.nix @@ -1,5 +1,6 @@ { stdenv +, lib , bashInteractive , busybox , nix @@ -86,5 +87,13 @@ stdenv.mkDerivation rec { mkdir -p $out/share cp ${nix_conf} $out/share/nix.conf ''; + + meta = { + homepage = null; + description = "nix bubblewrap wrapper"; + maintainers = with lib.maintainers.bsc; [ rarias ]; + platforms = lib.platforms.linux; + license = lib.licenses.gpl3Plus; # TODO: license? + }; } diff --git a/pkgs/nixtools/default.nix b/pkgs/nixtools/default.nix index 76ea64b7..f2e453a9 100644 --- a/pkgs/nixtools/default.nix +++ b/pkgs/nixtools/default.nix @@ -1,5 +1,6 @@ { stdenv +, lib , glibc }: @@ -15,4 +16,12 @@ stdenv.mkDerivation rec { makeFlags = [ "DESTDIR=$(out)" ]; preBuild = "env"; dontPatchShebangs = true; + + meta = { + homepage = "https://gitlab.pm.bsc.es/rarias/nixtools"; + description = "nix bubblewrap wrapper"; + maintainers = with lib.maintainers.bsc; [ rarias ]; + platforms = lib.platforms.linux; + license = lib.licenses.gpl3Plus; # TODO: license? + }; } diff --git a/pkgs/nodes/default.nix b/pkgs/nodes/default.nix index 8e524243..eb3893e3 100644 --- a/pkgs/nodes/default.nix +++ b/pkgs/nodes/default.nix @@ -81,4 +81,12 @@ in passthru = { inherit nosv; }; + + meta = { + homepage = "https://gitlab.bsc.es/nos-v/nodes"; + description = "Runtime library designed to work on top of the nOS-V runtime"; + maintainers = with lib.maintainers.bsc; [ rarias ]; + platforms = lib.platforms.linux; + license = lib.licenses.gpl3Plus; + }; } diff --git a/pkgs/nosv/default.nix b/pkgs/nosv/default.nix index 1b33e03d..b80fa779 100644 --- a/pkgs/nosv/default.nix +++ b/pkgs/nosv/default.nix @@ -59,4 +59,12 @@ in hwloc ovni ] ++ lib.optionals enablePapi [ papi ]; + + meta = { + homepage = "https://gitlab.bsc.es/nos-v/nos-v"; + description = "Tasking library enables the co-execution of multiple applications with system-wide scheduling and a centralized management of resources"; + maintainers = with lib.maintainers.bsc; [ abonerib ]; + platforms = lib.platforms.linux; + license = lib.licenses.gpl3Plus; + }; } diff --git a/pkgs/ovni/default.nix b/pkgs/ovni/default.nix index 247f3f63..76409c5b 100644 --- a/pkgs/ovni/default.nix +++ b/pkgs/ovni/default.nix @@ -55,4 +55,12 @@ in doCheck = true; checkTarget = "test"; hardeningDisable = [ "all" ]; + + meta = { + homepage = "https://ovni.readthedocs.io"; + description = "Obtuse but Versatile Nanoscale Instrumentation"; + maintainers = with lib.maintainers.bsc; [ rarias ]; + platforms = lib.platforms.linux; + license = lib.licenses.gpl3Plus; + }; } diff --git a/pkgs/paraver/default.nix b/pkgs/paraver/default.nix index 32e9796a..74fc3a0d 100644 --- a/pkgs/paraver/default.nix +++ b/pkgs/paraver/default.nix @@ -1,5 +1,6 @@ { stdenv +, lib , fetchFromGitHub , autoreconfHook , boost @@ -88,4 +89,12 @@ stdenv.mkDerivation rec { mkdir -p $out/share/man mv $out/share/doc/wxparaver_help_contents/man $out/share/man/man1 ''; + + meta = { + homepage = "https://github.com/bsc-performance-tools/wxparaver"; + description = "Trace-based visualization and analysis tool designed to study quantitative detailed metrics and obtain qualitative knowledge of the performance of applications, libraries, processors and whole architectures"; + maintainers = with lib.maintainers.bsc; [ rarias ]; + platforms = lib.platforms.linux; + license = lib.licenses.lgpl21Plus; + }; } diff --git a/pkgs/sonar/default.nix b/pkgs/sonar/default.nix index 4f5be77f..36a5ef8a 100644 --- a/pkgs/sonar/default.nix +++ b/pkgs/sonar/default.nix @@ -1,5 +1,6 @@ { stdenv +, lib , autoreconfHook , fetchFromGitHub , ovni @@ -27,4 +28,12 @@ stdenv.mkDerivation rec { ovni mpi ]; + + meta = { + homepage = "https://github.com/bsc-pm/sonar"; + description = "Set of runtime libraries which instrument parallel programming models through the ovni instrumentation library"; + maintainers = with lib.maintainers.bsc; [ rarias ]; + platforms = lib.platforms.linux; + license = lib.licenses.mit; + }; } diff --git a/pkgs/tagaspi/default.nix b/pkgs/tagaspi/default.nix index 0b448f4e..5f1d7340 100644 --- a/pkgs/tagaspi/default.nix +++ b/pkgs/tagaspi/default.nix @@ -1,5 +1,6 @@ { stdenv +, lib , fetchFromGitHub , automake , autoconf @@ -55,4 +56,12 @@ stdenv.mkDerivation rec { ]; hardeningDisable = [ "all" ]; + + meta = { + homepage = "https://github.com/bsc-pm/tagaspi"; + description = "Task-Aware GASPI"; + maintainers = with lib.maintainers.bsc; [ rarias ]; + platforms = lib.platforms.linux; + license = lib.licenses.gpl3Plus; + }; } diff --git a/pkgs/tampi/default.nix b/pkgs/tampi/default.nix index 8986ce9e..15e48dee 100644 --- a/pkgs/tampi/default.nix +++ b/pkgs/tampi/default.nix @@ -61,4 +61,12 @@ in stdenv.mkDerivation { configureFlags = optional (enableOvni) "--with-ovni=${ovni}"; dontDisableStatic = true; hardeningDisable = [ "all" ]; + + meta = { + homepage = "https://github.com/bsc-pm/tampi"; + description = "Task-Aware MPI"; + maintainers = with lib.maintainers.bsc; [ rarias ]; + platforms = lib.platforms.linux; + license = lib.licenses.gpl3Plus; + }; }