about summary refs log tree commit diff
path: root/pkgs/tools/misc/antimicro/default.nix
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2017-05-17 14:26:11 -0500
committerThomas Tuegel <ttuegel@mailbox.org>2017-06-18 08:44:42 -0500
commitc816bbc8a86c7ea6c09ca42e1694fe08003a55fc (patch)
tree036a3c0d8a3a6a4be068cf153a863fc0114ef28f /pkgs/tools/misc/antimicro/default.nix
parent1607f51613fc63a6fbfc1884c55a9efea06161b3 (diff)
downloadnixlib-c816bbc8a86c7ea6c09ca42e1694fe08003a55fc.tar
nixlib-c816bbc8a86c7ea6c09ca42e1694fe08003a55fc.tar.gz
nixlib-c816bbc8a86c7ea6c09ca42e1694fe08003a55fc.tar.bz2
nixlib-c816bbc8a86c7ea6c09ca42e1694fe08003a55fc.tar.lz
nixlib-c816bbc8a86c7ea6c09ca42e1694fe08003a55fc.tar.xz
nixlib-c816bbc8a86c7ea6c09ca42e1694fe08003a55fc.tar.zst
nixlib-c816bbc8a86c7ea6c09ca42e1694fe08003a55fc.zip
qt5: remove makeQtWrapper
Diffstat (limited to 'pkgs/tools/misc/antimicro/default.nix')
-rw-r--r--pkgs/tools/misc/antimicro/default.nix13
1 files changed, 5 insertions, 8 deletions
diff --git a/pkgs/tools/misc/antimicro/default.nix b/pkgs/tools/misc/antimicro/default.nix
index 02d65597f749..ee0accac2d9b 100644
--- a/pkgs/tools/misc/antimicro/default.nix
+++ b/pkgs/tools/misc/antimicro/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, cmake, pkgconfig, SDL2, qtbase, qttools, makeQtWrapper, xorg, fetchFromGitHub }:
+{ mkDerivation, lib, cmake, pkgconfig, SDL2, qtbase, qttools, xorg, fetchFromGitHub }:
 
-stdenv.mkDerivation rec {
+mkDerivation rec {
   name = "antimicro-${version}";
   version = "2.23";
 
@@ -11,15 +11,12 @@ stdenv.mkDerivation rec {
     sha256 = "1q40ayxwwyq85lc89cnj1cm2nar625h4vhh8dvmb2qcxczaggf4v";
   };
 
+  nativeBuildInputs = [ cmake pkgconfig ];
   buildInputs = [
-    cmake pkgconfig SDL2 qtbase qttools xorg.libXtst makeQtWrapper
+    SDL2 qtbase qttools xorg.libXtst
   ];
 
-  postInstall = ''
-    wrapQtProgram $out/bin/antimicro
-  '';
-
-  meta = with stdenv.lib; {
+  meta = with lib; {
     description = "GUI for mapping keyboard and mouse controls to a gamepad";
     inherit (src.meta) homepage;
     maintainers = with maintainers; [ jb55 ];