jellyfin/plugin/dlna/default.nix
2025-09-21 19:35:07 +02:00

21 lines
402 B
Nix

let
v."8.0.0.0" = {
hash = "sha256-5YUX+w4n3nBhAkdgjF9D5yY/jzRKxpW+mTQCBluzsVI=";
rev = "v8";
};
current =
lib:
lib.lists.fold (acc: v: if lib.strings.versionOlder acc v then v else acc) "0.0.0" (
builtins.attrNames v
);
in
{
lib,
version ? current lib,
hash ? v.${version}.hash,
rev ? v.${version}.rev or "v${version}",
...
}:
{
inherit version hash rev;
}