nixpkgs/pkgs/by-name/ad/adwsteamgtk/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

53 lines
1.0 KiB
Nix
Raw Normal View History

2024-01-10 19:45:38 +00:00
{ blueprint-compiler
, desktop-file-utils
, fetchFromGitHub
, lib
, libadwaita
, libportal-gtk4
, meson
, ninja
, python3Packages
, wrapGAppsHook4
}:
python3Packages.buildPythonApplication rec {
pname = "adwsteamgtk";
2024-05-12 22:15:22 +00:00
version = "0.6.11";
2024-01-10 19:45:38 +00:00
# built with meson, not a python format
format = "other";
src = fetchFromGitHub {
owner = "Foldex";
repo = "AdwSteamGtk";
2024-03-30 02:17:10 +00:00
rev = "refs/tags/v${version}";
2024-05-12 22:15:22 +00:00
hash = "sha256-f7+2gTpG5Ntgq+U2AkQihzSTrO+oMsLWxgxe4dVyz8A=";
2024-01-10 19:45:38 +00:00
};
buildInputs = [
libadwaita
libportal-gtk4
];
nativeBuildInputs = [
blueprint-compiler
desktop-file-utils
meson
ninja
wrapGAppsHook4
];
propagatedBuildInputs = with python3Packages; [
packaging
pygobject3
];
meta = {
description = "Simple Gtk wrapper for Adwaita-for-Steam";
homepage = "https://github.com/Foldex/AdwSteamGtk";
license = lib.licenses.gpl3Plus;
maintainers = [ lib.maintainers.reedrw ];
mainProgram = "adwaita-steam-gtk";
platforms = lib.platforms.linux;
};
}