2023-08-04 22:07:22 +00:00
|
|
|
{ blueprint-compiler
|
|
|
|
, desktop-file-utils
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gobject-introspection
|
|
|
|
, lib
|
|
|
|
, libadwaita
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, python3
|
|
|
|
, stdenv
|
|
|
|
, wrapGAppsHook4
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "cartridges";
|
2023-08-22 20:05:09 +00:00
|
|
|
version = "2.2.1";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kra-mo";
|
|
|
|
repo = "cartridges";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2023-08-22 20:05:09 +00:00
|
|
|
sha256 = "sha256-LCO3GSRNi1alP9rRwBAfVAF49i4FmhsMOG9LW4PGB3s=";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|