Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 49 lines 930 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 libvibrant, 7 libxcb, 8 libXrandr, 9 pkg-config, 10 qt6, 11}: 12 13stdenv.mkDerivation (finalAttrs: { 14 pname = "vibrantLinux"; 15 version = "2.2.0"; 16 17 src = fetchFromGitHub { 18 owner = "libvibrant"; 19 repo = "vibrantLinux"; 20 rev = "v${finalAttrs.version}"; 21 hash = "sha256-GsGWQ6Os8GQ1XbRKrlTOpwPvwyfT/6ftjlt+fJ/YiK8="; 22 }; 23 24 nativeBuildInputs = [ 25 cmake 26 pkg-config 27 qt6.wrapQtAppsHook 28 ]; 29 30 buildInputs = [ 31 libvibrant 32 libxcb 33 libXrandr 34 qt6.qtbase 35 qt6.qttools 36 ]; 37 38 meta = with lib; { 39 description = "Tool to automate managing your screen's saturation depending on what programs are running"; 40 homepage = "https://github.com/libvibrant/vibrantLinux"; 41 license = licenses.gpl3Plus; 42 maintainers = with maintainers; [ 43 Scrumplex 44 unclamped 45 ]; 46 platforms = platforms.linux; 47 mainProgram = "vibrantLinux"; 48 }; 49})