From 1786c5751ea350b74cc341711fd0f87ee7f8eb8c Mon Sep 17 00:00:00 2001 From: ReecerTV Date: Mon, 21 Oct 2024 16:24:07 +0200 Subject: [PATCH] addwater: init at 1.1.3 --- pkgs/by-name/ad/addwater/package.nix | 55 ++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 pkgs/by-name/ad/addwater/package.nix diff --git a/pkgs/by-name/ad/addwater/package.nix b/pkgs/by-name/ad/addwater/package.nix new file mode 100644 index 0000000000000..da94bb4e57b97 --- /dev/null +++ b/pkgs/by-name/ad/addwater/package.nix @@ -0,0 +1,55 @@ +{ blueprint-compiler +, desktop-file-utils +, fetchFromGitHub +, lib +, libadwaita +, libportal-gtk4 +, meson +, ninja +, python3Packages +, wrapGAppsHook4 +, appstream +}: + +python3Packages.buildPythonApplication rec { + pname = "addwater"; + version = "1.1.3"; + # built with meson, not a python format + format = "other"; + + src = fetchFromGitHub { + owner = "largestgithubuseronearth"; + repo = "addwater"; + rev = "refs/tags/v${version}"; + hash = "sha256-TUNDUJxYM9v1UECYSC+jJ+53hFGPChivz9kqyU9Qee4="; + }; + + buildInputs = [ + libadwaita + libportal-gtk4 + ]; + + nativeBuildInputs = [ + blueprint-compiler + desktop-file-utils + meson + ninja + wrapGAppsHook4 + appstream + ]; + + propagatedBuildInputs = with python3Packages; [ + packaging + pygobject3 + requests + ]; + + meta = { + description = "Keep Firefox in fashion"; + homepage = "https://github.com/largestgithubuseronearth/addwater"; + license = lib.licenses.gpl3Plus; + maintainers = [ lib.maintainers.reecertv ]; + mainProgram = "addwater"; + platforms = lib.platforms.linux; + }; +}