fork/slippi-nix

git clone https://git.julia.blue/fork/slippi-nix

Daniel Flanaganchore: update player to 3.5.2 and launcher to 2.13.31f309af

xdg-mime
661 B36 linesraw
1{
2  lib,
3  appimageTools,
4  makeWrapper,
5  version,
6  pname,
7  src,
8  extraInstallCommands,
9  appImageContents ? null,
10  rawZip ? null,
11}:
12appimageTools.wrapType2 (
13  {
14    version = builtins.trace "${pname} version: ${version}" version;
15    inherit
16      pname
17      src
18      appImageContents
19      extraInstallCommands
20      ;
21    nativeBuildInputs = [ makeWrapper ];
22    extraPkgs =
23      pkgs: with pkgs; [
24        curl
25        zlib
26        mpg123
27      ];
28    meta.mainProgram = pname;
29  }
30  // lib.optionalAttrs (rawZip != null) {
31    passthru.raw-zip = rawZip;
32  }
33  // lib.optionalAttrs (appImageContents != null) {
34    inherit appImageContents;
35  }
36)