2020-06-29 17:17:24 +01:00
|
|
|
{ mkDerivation
|
|
|
|
, lib
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
2021-01-17 03:51:22 +00:00
|
|
|
, pkg-config
|
2020-06-29 17:17:24 +01:00
|
|
|
, SDL2
|
|
|
|
, qtbase
|
|
|
|
, qttools
|
|
|
|
, qtx11extras
|
|
|
|
, xorg
|
|
|
|
, fetchFromGitHub
|
|
|
|
, itstool
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "antimicroX";
|
2020-08-31 18:12:13 +01:00
|
|
|
version = "3.0.1";
|
2020-06-29 17:17:24 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "juliagoda";
|
|
|
|
repo = "antimicroX";
|
|
|
|
rev = version;
|
2020-08-31 18:12:13 +01:00
|
|
|
sha256 = "05asxlkgb4cgvpcyksw1cx8cz8nzi8hmw8b91lw92892j7a2r7wj";
|
2020-06-29 17:17:24 +01:00
|
|
|
};
|
|
|
|
|
2021-01-17 03:51:22 +00:00
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules pkg-config itstool ];
|
2020-06-29 17:17:24 +01:00
|
|
|
buildInputs = [
|
|
|
|
SDL2
|
|
|
|
qtbase
|
|
|
|
qttools
|
|
|
|
qtx11extras
|
|
|
|
xorg.libX11
|
|
|
|
xorg.libXtst
|
|
|
|
xorg.libXi
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "GUI for mapping keyboard and mouse controls to a gamepad";
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
maintainers = with maintainers; [ jb55 ];
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|