Last active
July 2, 2017 17:15
-
-
Save petermarks/4e1c3d2a38a193cec1769ab95b4c9825 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#{ stdenv, fetchurl, qtbase, qtmultimedia, qttools, alsa-lib, libusb }: | |
with import <nixpkgs> {}; | |
# TODO: disable some plugins | |
stdenv.mkDerivation { | |
name = "qlcplus-4.11.0"; | |
src = ./qlcplus-QLC-_4.11.0; | |
buildInputs = [ qt5.qtbase qt5.qtscript qt5.qtmultimedia qt5.qttools alsaLib libusb libudev qt5.qmakeHook ]; | |
nativeBuildInputs = [ pkgconfig ]; | |
postPatch = '' | |
substituteInPlace "variables.pri" \ | |
--replace "INSTALLROOT += /usr" "INSTALLROOT += \$\$(out)" | |
substituteInPlace "translate.sh" \ | |
--replace "/bin/bash" "${bash}/bin/bash" | |
''; | |
enableParallelBuilding = true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment