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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "antimicro-${version}";
|
name = "antimicro-${version}";
|
||||||
@ -12,9 +12,13 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
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; {
|
meta = with stdenv.lib; {
|
||||||
description = "GUI for mapping keyboard and mouse controls to a gamepad";
|
description = "GUI for mapping keyboard and mouse controls to a gamepad";
|
||||||
inherit (src.meta) homepage;
|
inherit (src.meta) homepage;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user