mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
53 lines
1.0 KiB
Nix
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.10";
|
|
# built with meson, not a python format
|
|
format = "other";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Foldex";
|
|
repo = "AdwSteamGtk";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-sh4FLXG78i20Bt8pCCbhO6Sx815stjAZRLCD+X5Zk40=";
|
|
};
|
|
|
|
buildInputs = [
|
|
libadwaita
|
|
libportal-gtk4
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
blueprint-compiler
|
|
desktop-file-utils
|
|
meson
|
|
ninja
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
packaging
|
|
pygobject3
|
|
];
|
|
|
|
meta = {
|
|
description = "A 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;
|
|
};
|
|
}
|