cartridges: 2.3 -> 2.7.2
Co-Authored-By: seth <getchoo@tuta.io>
This commit is contained in:
parent
338a8dc6c1
commit
280b6d8d65
1 changed files with 24 additions and 9 deletions
|
@ -6,29 +6,32 @@
|
||||||
, libadwaita
|
, libadwaita
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, python3
|
, python3Packages
|
||||||
, stdenv
|
, stdenv
|
||||||
, wrapGAppsHook4
|
, wrapGAppsHook4
|
||||||
|
, nix-update-script
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "cartridges";
|
pname = "cartridges";
|
||||||
version = "2.3";
|
version = "2.7.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kra-mo";
|
owner = "kra-mo";
|
||||||
repo = "cartridges";
|
repo = "cartridges";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-d0c0043kssPvGxs6FygDkTKZoYtFge2cH4MIhz2vVYk=";
|
hash = "sha256-+18TWtxKT87CZ8vTtYac9aQ0wIbhJEXbXFZrSj5BmjI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pythonPath = with python3Packages; [
|
||||||
|
pillow
|
||||||
|
pygobject3
|
||||||
|
pyyaml
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libadwaita
|
libadwaita
|
||||||
(python3.withPackages (p: with p; [
|
(python3Packages.python.withPackages (_: finalAttrs.pythonPath))
|
||||||
pillow
|
|
||||||
pygobject3
|
|
||||||
pyyaml
|
|
||||||
requests
|
|
||||||
]))
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -37,9 +40,21 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
|
python3Packages.wrapPython
|
||||||
wrapGAppsHook4
|
wrapGAppsHook4
|
||||||
];
|
];
|
||||||
|
|
||||||
|
dontWrapGApps = true;
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||||
|
wrapPythonPrograms "$out/bin" "$out" "$pythonPath"
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = nix-update-script { };
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A GTK4 + Libadwaita game launcher";
|
description = "A GTK4 + Libadwaita game launcher";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
Loading…
Reference in a new issue