Add alienfx. Only tested with M11x Made some corrections. Added meta-data Use more of the original makefile 2 space indent

authored by Thomas Bereknyei and committed by Domen Kožar f2581d28 370dec91

+42
+1
lib/maintainers.nix
··· 55 55 smironov = "Sergey Mironov <ierton@gmail.com>"; 56 56 thammers = "Tobias Hammerschmidt <jawr@gmx.de>"; 57 57 the-kenny = "Moritz Ulrich <moritz@tarn-vedra.de>"; 58 + tomberek = "Thomas Bereknyei <tomberek@gmail.com>"; 58 59 urkud = "Yury G. Kudryashov <urkud+nix@ya.ru>"; 59 60 vcunat = "Vladimír Čunát <vcunat@gmail.com>"; 60 61 viric = "Lluís Batlle i Rossell <viric@viric.name>";
+39
pkgs/os-specific/linux/alienfx/default.nix
··· 1 + { stdenv, libusb1, fetchgit}: 2 + 3 + 4 + let 5 + rev = "85ee5eeaca59a1c92659c3f49b148b0447d78f16"; 6 + in 7 + 8 + stdenv.mkDerivation { 9 + name = "alienfx-1.0.0"; 10 + src = fetchgit { 11 + inherit rev; 12 + url = https://github.com/tibz/alienfx.git; 13 + 14 + sha256 = "47501a3b4e08d39edee4cd829ae24259a7e740b9798db76b846fa872989f8fb1"; 15 + }; 16 + 17 + patchPhase = '' 18 + substituteInPlace Makefile --replace /usr/ $out/ 19 + substituteInPlace Makefile --replace "install -o root -g root" "install" 20 + ''; 21 + 22 + buildInputs = [ libusb1 ]; 23 + makeFlags = "build"; 24 + preInstall = '' 25 + mkdir -p $out/bin 26 + mkdir -p $out/man/man1 27 + ''; 28 + installTargets = "install"; 29 + postInstall = ''cp alienfx.1 $out/man/man1''; 30 + 31 + meta = { 32 + description = "Controls AlienFX lighting"; 33 + homepage = "https://github.com/tibz/alienfx"; 34 + maintainers = [stdenv.lib.maintainers.tomberek]; 35 + # Has only been tested on M11x 36 + platforms = [ "x86_64-linux" ]; 37 + }; 38 + } 39 +
+2
pkgs/top-level/all-packages.nix
··· 6460 6460 6461 6461 acpitool = callPackage ../os-specific/linux/acpitool { }; 6462 6462 6463 + alienfx = callPackage ../os-specific/linux/alienfx { }; 6464 + 6463 6465 alsaLib = callPackage ../os-specific/linux/alsa-lib { }; 6464 6466 6465 6467 alsaPlugins = callPackage ../os-specific/linux/alsa-plugins {