1 { stdenv, lib, makeWrapper, ghcWithPackages, packages ? (_:[]) }:
3 blucontrolEnv = ghcWithPackages (self: [ self.blucontrol ] ++ packages self);
6 pname = "blucontrol-with-packages";
7 version = blucontrolEnv.version;
9 nativeBuildInputs = [ makeWrapper ];
12 makeWrapper ${blucontrolEnv}/bin/blucontrol $out/bin/blucontrol \
13 --prefix PATH : ${lib.makeBinPath [ blucontrolEnv ]}
17 preferLocalBuild = true;
18 allowSubstitues = false;
21 description = "Configurable blue light filter";
22 mainProgram = "blucontrol";
24 This application is a blue light filter, with the main focus on configurability.
25 Configuration is done in Haskell in the style of xmonad.
26 Blucontrol makes use of monad transformers and allows monadic calculation of gamma values and recoloring. The user chooses, what will be captured in the monadic state.
28 license = licenses.bsd3;
29 homepage = "https://github.com/jumper149/blucontrol";
30 platforms = platforms.unix;
31 maintainers = with maintainers; [ jumper149 ];