|
34 | 34 | , extraDotnetBuildFlags
|
35 | 35 | }: let
|
36 | 36 | getMainOutput = lib.getOutput "out";
|
| 37 | + commonMeta = { |
| 38 | + description = "Build artifacts for the \"managed\" (.NET) components of EmuHawk and DiscoHawk"; |
| 39 | + homepage = "https://github.com/TASEmulators/BizHawk"; |
| 40 | + downloadPage = "https://github.com/TASEmulators/BizHawk/releases"; |
| 41 | + changelog = "https://tasvideos.org/BizHawk/ReleaseHistory"; |
| 42 | + license = lib.licenses.mit; # doesn't include third-party code, which should bring it up to GPLv3, see https://gitlab.com/YoshiRulz/yoshis-hawk-thoughts/-/issues/61 |
| 43 | + maintainers = [ lib.maintainers.YoshiRulz ]; |
| 44 | + }; |
37 | 45 | /** to override just one, you'll probably want to manually import packages-managed.nix, and combine that with the output of this */
|
38 | 46 | buildExtraManagedDepsFor = hawkSourceInfo: let
|
39 | 47 | pm = import ./packages-managed.nix {
|
|
181 | 189 | # can similarly override `assets` output, only used by launch script to populate `BIZHAWK_DATA_HOME` if the dir doesn't exist at runtime,
|
182 | 190 | # and `waterboxCores` output, which holds just the Waterbox cores, as the name suggests
|
183 | 191 | };
|
184 |
| - meta.sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; # `extraUnmanagedDeps` and `waterboxCores` outputs; will work on from-source later |
| 192 | + meta = commonMeta // { |
| 193 | + sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; # `extraUnmanagedDeps` and `waterboxCores` outputs; will work on from-source later |
| 194 | + }; |
185 | 195 | }));
|
186 | 196 | buildInstallable =
|
187 | 197 | { bizhawkAssemblies
|
|
216 | 226 | };
|
217 | 227 | meta = let
|
218 | 228 | p = lib.systems.inspect.patterns;
|
219 |
| - in { |
| 229 | + in bizhawkAssemblies.meta // { |
| 230 | + description = { |
| 231 | + discohawk-monort = "Simple frontend for disc image conversion using BizHawk's .NET libraries"; |
| 232 | + emuhawk-monort = "Multi-system emulator front-end, featuring QoL features for casual players, as well as recording/playback and debugging tools, making it the first choice for Tool-Assisted Speedrunners"; |
| 233 | + }.${pname}; |
220 | 234 | platforms = [
|
221 | 235 | (p.isLinux // p.isAarch64)
|
222 | 236 | (p.isLinux // p.isx86_32)
|
|
281 | 295 | inherit gnome-themes-extra mono;
|
282 | 296 | hawkSourceInfo = hawkSourceInfo';
|
283 | 297 | };
|
284 |
| - meta.sourceProvenance = [ lib.sourceTypes.binaryNativeCode lib.sourceTypes.binaryBytecode ]; |
| 298 | + meta = commonMeta // { |
| 299 | + sourceProvenance = [ lib.sourceTypes.binaryNativeCode lib.sourceTypes.binaryBytecode ]; |
| 300 | + }; |
285 | 301 | } ''
|
286 | 302 | ${if zippedTarball then ''mkdir -p $assets; tar -xf '${artifact}'/*.tar -C $assets'' else ''cp -aT '${artifact}' $assets''}
|
287 | 303 | cd $assets
|
|
0 commit comments