diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-11-24 06:29:35 -0500 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2019-11-24 06:29:47 -0500 |
commit | 0f00c2aee22517634ebec13e9778762ed71ae2b0 (patch) | |
tree | 7bbea4c016d747456128491210ac4a5a4a57a3df /pkgs/games/chessx | |
parent | 11479a9dd3f0c0678551f7db88ed36d9e38959eb (diff) |
chessx: use qt5's mkDerivation and latest qt
Fixes #74020
https://github.com/NixOS/nixpkgs/issues/65399
Diffstat (limited to 'pkgs/games/chessx')
-rw-r--r-- | pkgs/games/chessx/default.nix | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/pkgs/games/chessx/default.nix b/pkgs/games/chessx/default.nix index 3b460daefd1a..f0b04489edac 100644 --- a/pkgs/games/chessx/default.nix +++ b/pkgs/games/chessx/default.nix @@ -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,16 +19,19 @@ stdenv.mkDerivation rec { sha256 = "09rqyra28w3z9ldw8sx07k5ap3sjlli848p737maj7c240rasc6i"; }; + nativeBuildInputs = [ + pkgconfig + qmake + ]; + buildInputs = [ qtbase + qtmultimedia qtsvg qttools - qtmultimedia zlib ]; - nativeBuildInputs = [ pkgconfig qmake makeWrapper ]; - # 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; }; } |