2017-05-17 20:26:11 +01:00
|
|
|
{ mkDerivation, lib, cmake, pkgconfig, SDL2, qtbase, qttools, xorg, fetchFromGitHub }:
|
2015-08-17 04:05:14 +01:00
|
|
|
|
2017-05-17 20:26:11 +01:00
|
|
|
mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "antimicro";
|
2017-02-19 20:47:04 +00:00
|
|
|
version = "2.23";
|
2015-08-17 04:05:14 +01:00
|
|
|
|
2016-04-26 09:45:48 +01:00
|
|
|
src = fetchFromGitHub {
|
2016-05-06 10:43:22 +01:00
|
|
|
owner = "AntiMicro";
|
2016-04-26 09:45:48 +01:00
|
|
|
repo = "antimicro";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2017-02-19 20:47:04 +00:00
|
|
|
sha256 = "1q40ayxwwyq85lc89cnj1cm2nar625h4vhh8dvmb2qcxczaggf4v";
|
2015-08-17 04:05:14 +01:00
|
|
|
};
|
|
|
|
|
2017-05-17 20:26:11 +01:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2015-08-17 04:05:14 +01:00
|
|
|
buildInputs = [
|
2017-05-17 20:26:11 +01:00
|
|
|
SDL2 qtbase qttools xorg.libXtst
|
2015-08-17 04:05:14 +01:00
|
|
|
];
|
|
|
|
|
2017-05-17 20:26:11 +01:00
|
|
|
meta = with lib; {
|
2015-08-17 04:05:14 +01:00
|
|
|
description = "GUI for mapping keyboard and mouse controls to a gamepad";
|
2016-05-06 10:43:22 +01:00
|
|
|
inherit (src.meta) homepage;
|
2015-08-17 04:05:14 +01:00
|
|
|
maintainers = with maintainers; [ jb55 ];
|
|
|
|
license = licenses.gpl3;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with platforms; linux;
|
2018-04-10 21:23:49 +01:00
|
|
|
broken = true; # 2018-04-10
|
2015-08-17 04:05:14 +01:00
|
|
|
};
|
|
|
|
}
|