mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
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;
|
||||
@ -39,7 +50,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = http://chessx.sourceforge.net/;
|
||||
description = "ChessX allows you to browse and analyse chess games";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [maintainers.luispedro];
|
||||
maintainers = [ maintainers.luispedro ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -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 New Issue
Block a user