cartridges: init at 2.0.4

This commit is contained in:
seth 2023-05-27 15:50:03 -04:00
parent 0ad0cc5039
commit 15259fffeb
No known key found for this signature in database
GPG key ID: D31BD0D494BBEE86
2 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1,56 @@
{ blueprint-compiler
, desktop-file-utils
, fetchFromGitHub
, gobject-introspection
, lib
, libadwaita
, meson
, ninja
, python3
, stdenv
, wrapGAppsHook4
}:
stdenv.mkDerivation (finalAttrs: {
pname = "cartridges";
version = "2.0.4";
src = fetchFromGitHub {
owner = "kra-mo";
repo = "cartridges";
rev = "v${finalAttrs.version}";
sha256 = "sha256-DaeAdxgp6/a3H2ppgVxRjYUbHGZcyIeREVPX6FxE7bc=";
};
buildInputs = [
libadwaita
(python3.withPackages (p: with p; [
pillow
pygobject3
pyyaml
requests
]))
];
nativeBuildInputs = [
blueprint-compiler
desktop-file-utils
gobject-introspection
meson
ninja
wrapGAppsHook4
];
meta = with lib; {
description = "A GTK4 + Libadwaita game launcher";
longDescription = ''
A simple game launcher for all of your games.
It has support for importing games from Steam, Lutris, Heroic
and more with no login necessary.
You can sort and hide games or download cover art from SteamGridDB.
'';
homepage = "https://apps.gnome.org/app/hu.kramo.Cartridges/";
license = licenses.gpl3Plus;
maintainers = [ maintainers.getchoo ];
platforms = platforms.linux;
};
})

View file

@ -395,6 +395,8 @@ with pkgs;
caroline = callPackage ../development/libraries/caroline { }; caroline = callPackage ../development/libraries/caroline { };
cartridges = callPackage ../applications/misc/cartridges { };
castget = callPackage ../applications/networking/feedreaders/castget { }; castget = callPackage ../applications/networking/feedreaders/castget { };
castxml = callPackage ../development/tools/castxml { }; castxml = callPackage ../development/tools/castxml { };