corectrl: init at 1.1.1
This commit is contained in:
parent
b7bb3aa602
commit
846266d9af
74
pkgs/applications/misc/corectrl/default.nix
Normal file
74
pkgs/applications/misc/corectrl/default.nix
Normal file
@ -0,0 +1,74 @@
|
||||
{ stdenv
|
||||
, fetchFromGitLab
|
||||
, extra-cmake-modules
|
||||
, botan2
|
||||
, karchive
|
||||
, kauth
|
||||
, libdrm
|
||||
, mesa-demos
|
||||
, procps
|
||||
, utillinux
|
||||
, vulkan-tools
|
||||
, qtbase
|
||||
, qtcharts
|
||||
, qtquickcontrols2
|
||||
, qtsvg
|
||||
, qttools
|
||||
, qtxmlpatterns
|
||||
, wrapQtAppsHook
|
||||
} :
|
||||
|
||||
stdenv.mkDerivation rec{
|
||||
pname = "corectrl";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "corectrl";
|
||||
repo = "corectrl";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-YQDrxPqCa3OzNKd3UiAffqqvOrgbXmDFJGjYPetolyY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
wrapQtAppsHook
|
||||
];
|
||||
buildInputs = [
|
||||
botan2
|
||||
karchive
|
||||
kauth
|
||||
libdrm
|
||||
mesa-demos
|
||||
procps
|
||||
utillinux
|
||||
vulkan-tools
|
||||
qtbase
|
||||
qtcharts
|
||||
qtquickcontrols2
|
||||
qtsvg
|
||||
qttools
|
||||
qtxmlpatterns
|
||||
];
|
||||
|
||||
runtimeDeps = [ mesa-demos vulkan-tools ];
|
||||
binPath = stdenv.lib.makeBinPath runtimeDeps;
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
postInstall = ''
|
||||
wrapQtApp $out/bin/corectrl --prefix PATH ":" ${binPath}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://gitlab.com/corectrl/corectrl/";
|
||||
description = "Control your computer hardware via application profiles";
|
||||
longDescription = ''
|
||||
CoreCtrl is a Free and Open Source GNU/Linux application that allows you
|
||||
to control with ease your computer hardware using application profiles. It
|
||||
aims to be flexible, comfortable and accessible to regular users.
|
||||
'';
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
# TODO: report upstream that libdrm is not detected at configure time
|
@ -20126,6 +20126,8 @@ in
|
||||
|
||||
copyq = libsForQt514.callPackage ../applications/misc/copyq { };
|
||||
|
||||
corectrl = libsForQt5.callPackage ../applications/misc/corectrl { };
|
||||
|
||||
coriander = callPackage ../applications/video/coriander {
|
||||
inherit (gnome2) libgnomeui GConf;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user