blucontrol-wrapper: init

+36
+32
pkgs/applications/misc/blucontrol/wrapper.nix
··· 1 + { stdenv, lib, makeWrapper, ghcWithPackages, packages ? (_:[]) }: 2 + let 3 + blucontrolEnv = ghcWithPackages (self: [ self.blucontrol ] ++ packages self); 4 + in 5 + stdenv.mkDerivation { 6 + pname = "blucontrol-with-packages"; 7 + version = blucontrolEnv.version; 8 + 9 + nativeBuildInputs = [ makeWrapper ]; 10 + 11 + buildCommand = '' 12 + makeWrapper ${blucontrolEnv}/bin/blucontrol $out/bin/blucontrol \ 13 + --prefix PATH : ${lib.makeBinPath [ blucontrolEnv ]} 14 + ''; 15 + 16 + # trivial derivation 17 + preferLocalBuild = true; 18 + allowSubstitues = false; 19 + 20 + meta = with lib; { 21 + description = "Configurable blue light filter"; 22 + longDescription = '' 23 + This application is a blue light filter, with the main focus on configurability. 24 + Configuration is done in Haskell in the style of xmonad. 25 + 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. 26 + ''; 27 + license = licenses.bsd3; 28 + homepage = "https://github.com/jumper149/blucontrol"; 29 + platforms = platforms.unix; 30 + maintainers = with maintainers; [ jumper149 ]; 31 + }; 32 + }
+4
pkgs/top-level/all-packages.nix
··· 21653 21653 21654 21654 blogc = callPackage ../applications/misc/blogc { }; 21655 21655 21656 + blucontrol = callPackage ../applications/misc/blucontrol/wrapper.nix { 21657 + inherit (haskellPackages) ghcWithPackages; 21658 + }; 21659 + 21656 21660 bluefish = callPackage ../applications/editors/bluefish { 21657 21661 gtk = gtk3; 21658 21662 };