forked from mirrors/nixpkgs
chessx: use qt5's mkDerivation and latest qt
Fixes #74020 https://github.com/NixOS/nixpkgs/issues/65399
This commit is contained in:
parent
11479a9dd3
commit
0f00c2aee2
|
@ -1,8 +1,16 @@
|
||||||
{ stdenv, pkgconfig, zlib, qtbase, qtsvg, qttools, qtmultimedia, qmake, fetchurl, makeWrapper
|
{ mkDerivation
|
||||||
, lib
|
, stdenv
|
||||||
|
, pkgconfig
|
||||||
|
, zlib
|
||||||
|
, qtbase
|
||||||
|
, qtsvg
|
||||||
|
, qttools
|
||||||
|
, qtmultimedia
|
||||||
|
, qmake
|
||||||
|
, fetchurl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "chessx";
|
pname = "chessx";
|
||||||
version = "1.5.0";
|
version = "1.5.0";
|
||||||
|
|
||||||
|
@ -11,15 +19,18 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "09rqyra28w3z9ldw8sx07k5ap3sjlli848p737maj7c240rasc6i";
|
sha256 = "09rqyra28w3z9ldw8sx07k5ap3sjlli848p737maj7c240rasc6i";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
nativeBuildInputs = [
|
||||||
qtbase
|
pkgconfig
|
||||||
qtsvg
|
qmake
|
||||||
qttools
|
|
||||||
qtmultimedia
|
|
||||||
zlib
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig qmake makeWrapper ];
|
buildInputs = [
|
||||||
|
qtbase
|
||||||
|
qtmultimedia
|
||||||
|
qtsvg
|
||||||
|
qttools
|
||||||
|
zlib
|
||||||
|
];
|
||||||
|
|
||||||
# RCC: Error in 'resources.qrc': Cannot find file 'i18n/chessx_da.qm'
|
# RCC: Error in 'resources.qrc': Cannot find file 'i18n/chessx_da.qm'
|
||||||
enableParallelBuilding = false;
|
enableParallelBuilding = false;
|
||||||
|
@ -39,7 +50,7 @@ stdenv.mkDerivation rec {
|
||||||
homepage = http://chessx.sourceforge.net/;
|
homepage = http://chessx.sourceforge.net/;
|
||||||
description = "ChessX allows you to browse and analyse chess games";
|
description = "ChessX allows you to browse and analyse chess games";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = [maintainers.luispedro];
|
maintainers = [ maintainers.luispedro ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -22510,7 +22510,7 @@ in
|
||||||
|
|
||||||
chessdb = callPackage ../games/chessdb { };
|
chessdb = callPackage ../games/chessdb { };
|
||||||
|
|
||||||
chessx = libsForQt59.callPackage ../games/chessx { };
|
chessx = libsForQt5.callPackage ../games/chessx { };
|
||||||
|
|
||||||
chiaki = libsForQt5.callPackage ../games/chiaki { };
|
chiaki = libsForQt5.callPackage ../games/chiaki { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue