dlna: version bump

This commit is contained in:
Jonas Rabenstein 2025-11-28 14:43:57 +01:00
commit c21b2e1358
5 changed files with 38 additions and 139 deletions

View file

@ -39,7 +39,9 @@ let
mkPlugin = info: result: buildDotnetModule result;
inherit jellyfin;
ignore = builtins.attrNames helper ++ [
"override" "overrideAttrs" "overrideDerivation"
"override"
"overrideAttrs"
"overrideDerivation"
];
};
@ -57,8 +59,8 @@ let
acc: name: value:
acc ++ lib.optional (value == "directory") name
) [ ] (builtins.readDir ("${info.src}/src"));
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.aspnetcore_8_0;
dotnet-sdk = dotnetCorePackages.sdk_9_0;
dotnet-runtime = jellyfin.dotnet-runtime;
dontDotnetBuild = true;
dontDotnetInstall = true;
project = "Jellyfin.Plugin.${capitalize lib.strings.toUpper info.name}";
@ -142,12 +144,30 @@ let
meta = meta jellyfin.meta // meta info;
};
info = helper // defaults // callPackage plugin ({ inherit info; } // args);
in info.mkPlugin info (lib.attrsets.removeAttrs info info.ignore);
in
info.mkPlugin info (lib.attrsets.removeAttrs info info.ignore);
functor = args: (drv args).overrideAttrs (final: prev: {
passthru = builtins.trace "override passthru" (prev.passthru or {}) // {
in-version = { version, rev ? null, hash ? null }@args':
callPackage functor (builtins.removeAttrs args [ "version" "rev" "hash" ] // args');
functor =
args:
(drv args).overrideAttrs (
final: prev: {
passthru = (prev.passthru or { }) // {
in-version =
{
version,
rev ? null,
hash ? null,
}@args':
callPackage functor (
builtins.removeAttrs args [
"version"
"rev"
"hash"
]
// args'
);
};
});
in lib.trivial.mirrorFunctionArgs plugin functor
}
);
in
lib.trivial.mirrorFunctionArgs plugin functor