forked from mirrors/nixpkgs
antimicro: wrap Qt application
This commit is contained in:
parent
a40b7d07e9
commit
82f7f8ad9a
|
@ -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}";
|
||||
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue