nixpkgs/pkgs/games/shticker-book-unwritten/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

28 lines
737 B
Nix

{ buildFHSEnv, callPackage, lib }:
let
shticker-book-unwritten-unwrapped = callPackage ./unwrapped.nix { };
in buildFHSEnv {
name = "shticker_book_unwritten";
targetPkgs = pkgs: with pkgs; [
alsa-lib
libglvnd
libpulseaudio
shticker-book-unwritten-unwrapped
xorg.libX11
xorg.libXcursor
xorg.libXext
];
runScript = "shticker_book_unwritten";
meta = with lib; {
description = "Minimal CLI launcher for the Toontown Rewritten MMORPG";
mainProgram = "shticker_book_unwritten";
homepage = "https://github.com/JonathanHelianthicusDoe/shticker_book_unwritten";
license = licenses.gpl3Plus;
maintainers = [ maintainers.reedrw ];
platforms = platforms.linux;
};
}