about summary refs log tree commit diff
path: root/pkgs/by-name/su
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2024-06-02 18:01:10 +0000
committerGitHub <noreply@github.com>2024-06-02 18:01:10 +0000
commit97d15b22bf30c0ea6d3fdc71a73514a8cf3df0cd (patch)
treebd1b4285b49832be8b74ee614ab355672b881855 /pkgs/by-name/su
parent90af711fcd445d0ef8b4e85b6675cfb75393db4d (diff)
parenteb71fe7727bf743121f12fc4cbe7fe2068b061c9 (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/by-name/su')
-rw-r--r--pkgs/by-name/su/supergfxctl-plasmoid/package.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/by-name/su/supergfxctl-plasmoid/package.nix b/pkgs/by-name/su/supergfxctl-plasmoid/package.nix
new file mode 100644
index 0000000000000..9141881c7a623
--- /dev/null
+++ b/pkgs/by-name/su/supergfxctl-plasmoid/package.nix
@@ -0,0 +1,38 @@
+{ lib
+, stdenv
+, fetchFromGitLab
+, cmake
+, kdePackages
+}:
+
+stdenv.mkDerivation rec {
+  pname = "supergfxctl-plasmoid";
+  version = "2.0.0";
+
+  src = fetchFromGitLab {
+    owner = "jhyub";
+    repo = "supergfxctl-plasmoid";
+    rev = "refs/tags/v${version}";
+    hash = "sha256-m3NmbFD9tqqCyiQgMVRNtlCZy7q+rMCsWgtds1QdOrE=";
+  };
+
+  nativeBuildInputs = [
+    cmake
+    kdePackages.wrapQtAppsHook
+  ];
+
+  buildInputs = [
+    kdePackages.libplasma
+  ];
+
+  meta = {
+    description = "KDE Plasma plasmoid for supergfxctl";
+    longDescription = ''
+      KDE Plasma plasmoid for supergfxctl
+      Built as a C++/QML Plasmoid
+    '';
+    license = lib.licenses.mpl20;
+    homepage = "https://gitlab.com/Jhyub/supergfxctl-plasmoid";
+    maintainers = with lib.maintainers; [ johnylpm ];
+  };
+}