powermode-indicator: init at unstable-2024-07-13

This commit is contained in:
Alexandre Acebedo 2024-09-15 16:23:35 +02:00
parent 1f20f29afc
commit 6bc64ac03a

View File

@ -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";
};
}