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
|
||||
, lib
|
||||
{ mkDerivation
|
||||
, stdenv
|
||||
, pkgconfig
|
||||
, zlib
|
||||
, qtbase
|
||||
, qtsvg
|
||||
, qttools
|
||||
, qtmultimedia
|
||||
, qmake
|
||||
, fetchurl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
mkDerivation rec {
|
||||
pname = "chessx";
|
||||
version = "1.5.0";
|
||||
|
||||
|
@ -11,15 +19,18 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "09rqyra28w3z9ldw8sx07k5ap3sjlli848p737maj7c240rasc6i";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qtsvg
|
||||
qttools
|
||||
qtmultimedia
|
||||
zlib
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
qmake
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig qmake makeWrapper ];
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qtmultimedia
|
||||
qtsvg
|
||||
qttools
|
||||
zlib
|
||||
];
|
||||
|
||||
# RCC: Error in 'resources.qrc': Cannot find file 'i18n/chessx_da.qm'
|
||||
enableParallelBuilding = false;
|
||||
|
|
|
@ -22510,7 +22510,7 @@ in
|
|||
|
||||
chessdb = callPackage ../games/chessdb { };
|
||||
|
||||
chessx = libsForQt59.callPackage ../games/chessx { };
|
||||
chessx = libsForQt5.callPackage ../games/chessx { };
|
||||
|
||||
chiaki = libsForQt5.callPackage ../games/chiaki { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue