Skip to content

Commit

Permalink
antimicro: wrap Qt application
Browse files Browse the repository at this point in the history
  • Loading branch information
abbradar committed Mar 22, 2017
1 parent a40b7d0 commit 82f7f8a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkgs/tools/misc/antimicro/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, cmake, pkgconfig, SDL2, qtbase, qttools, xorg, fetchFromGitHub }:
{ stdenv, cmake, pkgconfig, SDL2, qtbase, qttools, makeQtWrapper, xorg, fetchFromGitHub }:

stdenv.mkDerivation rec {
name = "antimicro-${version}";
Expand All @@ -12,9 +12,13 @@ stdenv.mkDerivation rec {
};

buildInputs = [
cmake pkgconfig SDL2 qtbase qttools xorg.libXtst
cmake pkgconfig SDL2 qtbase qttools xorg.libXtst makeQtWrapper
];

postInstall = ''
wrapQtProgram $out/bin/antimicro
'';

meta = with stdenv.lib; {
description = "GUI for mapping keyboard and mouse controls to a gamepad";
inherit (src.meta) homepage;
Expand Down

0 comments on commit 82f7f8a

Please sign in to comment.