mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 22:06:00 +03:00
bb543e1540
Commit 0055c6a
introduced a new preConfigure hook that sets the right
qmake path. Unfortunately the mkDerivation attributes of iannix override
the whole configurePhase, so this hook isn't run at all.
This fixes the build of iannix and it now successfully compiles on my
machine.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
34 lines
829 B
Nix
34 lines
829 B
Nix
{ stdenv, fetchFromGitHub, alsaLib, pkgconfig, qt5
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "iannix-${version}";
|
|
version = "2016-01-31";
|
|
src = fetchFromGitHub {
|
|
owner = "iannix";
|
|
repo = "IanniX";
|
|
rev = "f84becdcbe154b20a53aa2622068cb8f6fda0755";
|
|
sha256 = "184ydb9f1303v332k5k3f1ki7cb6nkxhh6ij0yn72v7dp7figrgj";
|
|
};
|
|
|
|
buildInputs = [ alsaLib pkgconfig qt5.qtbase qt5.qtscript ];
|
|
|
|
configurePhase = ''
|
|
runHook preConfigure
|
|
qmake PREFIX=/
|
|
runHook postConfigure
|
|
'';
|
|
|
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
description = "Graphical open-source sequencer,";
|
|
homepage = http://www.iannix.org/;
|
|
license = stdenv.lib.licenses.lgpl3;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.nico202 ];
|
|
};
|
|
}
|