Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions pkgs/os-specific/linux/alienfx/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ stdenv, libusb1, fetchgit }:


let
rev = "85ee5eeaca59a1c92659c3f49b148b0447d78f16";
in

stdenv.mkDerivation {
name = "alienfx-1.0.0";
src = fetchgit {
inherit rev;
url = https://github.com/tibz/alienfx.git;

sha256 = "47501a3b4e08d39edee4cd829ae24259a7e740b9798db76b846fa872989f8fb1";
};

buildInputs = [ libusb1 ];
# This might only work for 64-bit.
buildPhase = ''
g++ -lusb-1.0 -o alienfx alienfx.cpp
'';
# This is a total hack. Please let me know the proper way to do this.
installPhase = ''
mkdir -p $out/bin
install -m 4755 alienfx $out/bin/alienfx
'';
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6454,6 +6454,8 @@ let

acpitool = callPackage ../os-specific/linux/acpitool { };

alienfx = callPackage ../os-specific/linux/alienfx { };

alsaLib = callPackage ../os-specific/linux/alsa-lib { };

alsaPlugins = callPackage ../os-specific/linux/alsa-plugins {
Expand Down