nixpkgs/pkgs/by-name/ad/adwsteamgtk/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

53 lines
1.0 KiB
Nix

{ blueprint-compiler
, desktop-file-utils
, fetchFromGitHub
, lib
, libadwaita
, libportal-gtk4
, meson
, ninja
, python3Packages
, wrapGAppsHook4
}:
python3Packages.buildPythonApplication rec {
pname = "adwsteamgtk";
version = "0.6.11";
# built with meson, not a python format
format = "other";
src = fetchFromGitHub {
owner = "Foldex";
repo = "AdwSteamGtk";
rev = "refs/tags/v${version}";
hash = "sha256-f7+2gTpG5Ntgq+U2AkQihzSTrO+oMsLWxgxe4dVyz8A=";
};
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;
};
}