fork/slippi-nix

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

Julia RyanRemove trace6c26210

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