39 lines
787 B
Nix
39 lines
787 B
Nix
|
{ 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 ];
|
||
|
};
|
||
|
}
|