chessx: move to qmakeHook
This commit is contained in:
parent
f3e8653647
commit
f8d96d1983
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, pkgconfig, zlib, qtbase, qtsvg, qttools, qtmultimedia, fetchurl }:
|
{ stdenv, pkgconfig, zlib, qtbase, qtsvg, qttools, qtmultimedia, qmakeHook, fetchurl }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "chessx-${version}";
|
name = "chessx-${version}";
|
||||||
version = "1.3.2";
|
version = "1.3.2";
|
||||||
|
@ -6,9 +6,6 @@ stdenv.mkDerivation rec {
|
||||||
url = "mirror://sourceforge/chessx/chessx-${version}.tgz";
|
url = "mirror://sourceforge/chessx/chessx-${version}.tgz";
|
||||||
sha256 = "b136cf56d37d34867cdb9538176e1703b14f61b3384885b6f100580d0af0a3ff";
|
sha256 = "b136cf56d37d34867cdb9538176e1703b14f61b3384885b6f100580d0af0a3ff";
|
||||||
};
|
};
|
||||||
preConfigure = ''
|
|
||||||
qmake -spec linux-g++ chessx.pro
|
|
||||||
'';
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
stdenv
|
stdenv
|
||||||
pkgconfig
|
pkgconfig
|
||||||
|
@ -17,6 +14,7 @@ stdenv.mkDerivation rec {
|
||||||
qttools
|
qttools
|
||||||
qtmultimedia
|
qtmultimedia
|
||||||
zlib
|
zlib
|
||||||
|
qmakeHook
|
||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
Loading…
Reference in a new issue