summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReed <mrnitsuj1@gmail.com>2024-01-10 14:45:38 -0500
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-03-02 06:30:37 +0000
commitdfa65464b398ab631f0348a79925a0315f94877a (patch)
tree2fda62485446fe3a611c3c5405a0b807d32ad55e
parentMerge pull request #292626 from NixOS/backport-292573-to-release-23.11 (diff)
downloadnixpkgs-dfa65464b398ab631f0348a79925a0315f94877a.tar.gz
adwsteamgtk: init at 0.6.9origin/backport-280103-to-release-23.11
(cherry picked from commit 4e949b80155c45de77ea8e0b4fb34fced07ced75)
-rw-r--r--pkgs/by-name/ad/adwsteamgtk/package.nix52
1 files changed, 52 insertions, 0 deletions
diff --git a/pkgs/by-name/ad/adwsteamgtk/package.nix b/pkgs/by-name/ad/adwsteamgtk/package.nix
new file mode 100644
index 000000000000..f40843624fa8
--- /dev/null
+++ b/pkgs/by-name/ad/adwsteamgtk/package.nix
@@ -0,0 +1,52 @@
+{ blueprint-compiler
+, desktop-file-utils
+, fetchFromGitHub
+, lib
+, libadwaita
+, libportal-gtk4
+, meson
+, ninja
+, python3Packages
+, wrapGAppsHook4
+}:
+
+python3Packages.buildPythonApplication rec {
+ pname = "adwsteamgtk";
+ version = "0.6.9";
+ # built with meson, not a python format
+ format = "other";
+
+ src = fetchFromGitHub {
+ owner = "Foldex";
+ repo = "AdwSteamGtk";
+ rev = "v${version}";
+ hash = "sha256-aHJxgSb7oZTRrfFVYdLimwhSGzdRjGf7dGTRA+ANQiM=";
+ };
+
+ 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;
+ };
+}