mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
commit
a3013da6a2
42
pkgs/applications/misc/ddcui/default.nix
Normal file
42
pkgs/applications/misc/ddcui/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, mkDerivation
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, qtbase
|
||||
, qttools
|
||||
, ddcutil
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "ddcui";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rockowitz";
|
||||
repo = "ddcui";
|
||||
rev = "v${version}";
|
||||
sha256 = "02qr7i3pdq8p6lnhwihfgd9b7y9zwpdk6gwv626rz32ai6mfrfhl";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
# Using cmake instead of the also-supported qmake because ddcui's qmake
|
||||
# file is not currently written to support PREFIX installations.
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qttools
|
||||
ddcutil
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Graphical user interface for ddcutil - control monitor settings";
|
||||
homepage = "https://www.ddcutil.com/ddcui_main/";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ nh2 ];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
}
|
@ -2895,6 +2895,8 @@ in
|
||||
|
||||
ddccontrol-db = callPackage ../data/misc/ddccontrol-db { };
|
||||
|
||||
ddcui = libsForQt5.callPackage ../applications/misc/ddcui { };
|
||||
|
||||
ddcutil = callPackage ../tools/misc/ddcutil { };
|
||||
|
||||
ddclient = callPackage ../tools/networking/ddclient { };
|
||||
|
Loading…
Reference in New Issue
Block a user