From 6bc64ac03ad09dd388e5b1dc27fa20c6398c3c97 Mon Sep 17 00:00:00 2001 From: Alexandre Acebedo Date: Sun, 15 Sep 2024 16:23:35 +0200 Subject: [PATCH] powermode-indicator: init at unstable-2024-07-13 --- .../po/powermode-indicator/package.nix | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pkgs/by-name/po/powermode-indicator/package.nix diff --git a/pkgs/by-name/po/powermode-indicator/package.nix b/pkgs/by-name/po/powermode-indicator/package.nix new file mode 100644 index 000000000000..b4d5781b5535 --- /dev/null +++ b/pkgs/by-name/po/powermode-indicator/package.nix @@ -0,0 +1,40 @@ +{ + lib, + stdenv, + fetchFromGitHub, + cmake, + pkg-config, + gtkmm3, + glibmm, + libappindicator, +}: +stdenv.mkDerivation { + pname = "powermode-indicator"; + version = "0-unstable-2024-07-13"; + + src = fetchFromGitHub { + owner = "PiyushXCoder"; + repo = "powermode-indicator"; + rev = "0a67f63290b087f1eeff2c6c6869c2122ac78e6f"; + hash = "sha256-qqV99s+uNYCUx/xGY3gQL38eG9siuKTRT0bA2UoN6Sk="; + }; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + buildInputs = [ + libappindicator + gtkmm3 + glibmm + ]; + + meta = with lib; { + homepage = "https://github.com/PiyushXCoder/powermode-indicator"; + description = "Tray tool for power profiles management"; + license = licenses.mit; + platforms = platforms.linux; + maintainers = [ maintainers.aacebedo ]; + mainProgram = "powermode-indicator"; + }; +}