19 python3Packages.buildPythonApplication rec {
24 src = fetchFromGitHub {
27 rev = "refs/tags/v${version}";
28 hash = "sha256-uwU0jW5+33hiqpuG83r0GVfANl6ltDLa3s4s0IJHRoQ=";
36 desktop-file-utils # for `desktop-file-validate`
37 glib # for `glib-compile-schemas`
38 gtk4 # for `gtk-update-icon-cache`
51 dependencies = with python3Packages; [
59 makeWrapperArgs = [ "\${gappsWrapperArgs[@]}" ];
62 wrapPythonProgramsIn $out/libexec $out $pythonPath
65 # NOTE: `postCheck` is intentionally not used here, as the entire checkPhase
66 # is skipped by `buildPythonApplication`
67 # https://github.com/NixOS/nixpkgs/blob/9d4343b7b27a3e6f08fc22ead568233ff24bbbde/pkgs/development/interpreters/python/mk-python-derivation.nix#L296
73 description = "GTK4 + Libadwaita game launcher";
75 A simple game launcher for all of your games.
76 It has support for importing games from Steam, Lutris, Heroic
77 and more with no login necessary.
78 You can sort and hide games or download cover art from SteamGridDB.
80 homepage = "https://apps.gnome.org/Cartridges/";
81 changelog = "https://github.com/kra-mo/cartridges/releases/tag/${version}";
82 license = lib.licenses.gpl3Plus;
83 maintainers = with lib.maintainers; [ getchoo ];
84 mainProgram = "cartridges";
85 platforms = lib.platforms.linux;