summary refs log tree commit diff
path: root/pkgs/games/chessx
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-11-24 06:29:35 -0500
committerworldofpeace <worldofpeace@protonmail.ch>2019-11-24 06:29:47 -0500
commit0f00c2aee22517634ebec13e9778762ed71ae2b0 (patch)
tree7bbea4c016d747456128491210ac4a5a4a57a3df /pkgs/games/chessx
parent11479a9dd3f0c0678551f7db88ed36d9e38959eb (diff)
downloadnixpkgs-0f00c2aee22517634ebec13e9778762ed71ae2b0.tar
nixpkgs-0f00c2aee22517634ebec13e9778762ed71ae2b0.tar.gz
nixpkgs-0f00c2aee22517634ebec13e9778762ed71ae2b0.tar.bz2
nixpkgs-0f00c2aee22517634ebec13e9778762ed71ae2b0.tar.lz
nixpkgs-0f00c2aee22517634ebec13e9778762ed71ae2b0.tar.xz
nixpkgs-0f00c2aee22517634ebec13e9778762ed71ae2b0.tar.zst
nixpkgs-0f00c2aee22517634ebec13e9778762ed71ae2b0.zip
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.nix25
1 files changed, 18 insertions, 7 deletions
diff --git a/pkgs/games/chessx/default.nix b/pkgs/games/chessx/default.nix
index 3b460daefd1..f0b04489eda 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;
   };
 }