3
0
Fork 0
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:
worldofpeace 2019-11-24 06:29:35 -05:00
parent 11479a9dd3
commit 0f00c2aee2
2 changed files with 23 additions and 12 deletions

View file

@ -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;

View file

@ -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 { };