chessx: move to qmakeHook

This commit is contained in:
Nikolay Amiantov 2016-04-17 02:51:03 +03:00
parent f3e8653647
commit f8d96d1983

View File

@ -1,4 +1,4 @@
{ stdenv, pkgconfig, zlib, qtbase, qtsvg, qttools, qtmultimedia, fetchurl }:
{ stdenv, pkgconfig, zlib, qtbase, qtsvg, qttools, qtmultimedia, qmakeHook, fetchurl }:
stdenv.mkDerivation rec {
name = "chessx-${version}";
version = "1.3.2";
@ -6,9 +6,6 @@ stdenv.mkDerivation rec {
url = "mirror://sourceforge/chessx/chessx-${version}.tgz";
sha256 = "b136cf56d37d34867cdb9538176e1703b14f61b3384885b6f100580d0af0a3ff";
};
preConfigure = ''
qmake -spec linux-g++ chessx.pro
'';
buildInputs = [
stdenv
pkgconfig
@ -17,6 +14,7 @@ stdenv.mkDerivation rec {
qttools
qtmultimedia
zlib
qmakeHook
];
enableParallelBuilding = true;