forked from rarias/jungle
Add meta to oneapi packages
Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
This commit is contained in:
@@ -70,4 +70,8 @@ in
|
||||
(finalAttrs: prevAttrs: {
|
||||
installPhase = prevAttrs.installPhase + extraInstallCommands;
|
||||
passthru.stdenv = overrideCC stdenv finalAttrs.finalPackage;
|
||||
meta = (prevAttrs.meta or { }) // {
|
||||
maintainers = with lib.maintainers.bsc; [ abonerib ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
|
||||
@@ -49,6 +49,14 @@ lib.makeOverridable (
|
||||
# deps = builtins.map (x: "${x.pname}-${x.version}") unpatched.deps;
|
||||
# } __components;
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.intel.com/content/www/us/en/developer/tools/oneapi/hpc-toolkit.html";
|
||||
description = "Intel® oneAPI HPC Toolkit";
|
||||
maintainers = with lib.maintainers.bsc; [ abonerib ];
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.unfree;
|
||||
};
|
||||
|
||||
in
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = lib.removeSuffix "-extracted" unpatched.pname;
|
||||
@@ -91,6 +99,8 @@ lib.makeOverridable (
|
||||
cp -r $src/opt/intel/oneapi/ $out
|
||||
'';
|
||||
|
||||
inherit meta;
|
||||
|
||||
passthru =
|
||||
let
|
||||
pkgs = mapAttrs (
|
||||
@@ -109,6 +119,7 @@ lib.makeOverridable (
|
||||
inherit version;
|
||||
paths = [ original ] ++ lib.optionals (folder == "compiler") [ etc-vendors ];
|
||||
passthru = { inherit original llvmMajorVersion; };
|
||||
inherit meta;
|
||||
}
|
||||
) _components;
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user