2016-04-26 10:45:48 +02:00
|
|
|
{ stdenv, cmake, pkgconfig, SDL2, qtbase, qttools, xorg, fetchFromGitHub }:
|
2015-08-17 05:05:14 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "antimicro-${version}";
|
2016-05-06 11:43:22 +02:00
|
|
|
version = "2.22";
|
2015-08-17 05:05:14 +02:00
|
|
|
|
2016-04-26 10:45:48 +02:00
|
|
|
src = fetchFromGitHub {
|
2016-05-06 11:43:22 +02:00
|
|
|
owner = "AntiMicro";
|
2016-04-26 10:45:48 +02:00
|
|
|
repo = "antimicro";
|
|
|
|
rev = "${version}";
|
2016-05-06 11:43:22 +02:00
|
|
|
sha256 = "102fh9ysd2dmfc6b73bj88m064jhlglqrz2gd7k9jccadxpbp3mq";
|
2015-08-17 05:05:14 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2015-12-20 01:31:25 +01:00
|
|
|
cmake pkgconfig SDL2 qtbase qttools xorg.libXtst
|
2015-08-17 05:05:14 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "GUI for mapping keyboard and mouse controls to a gamepad";
|
2016-05-06 11:43:22 +02:00
|
|
|
inherit (src.meta) homepage;
|
2015-08-17 05:05:14 +02:00
|
|
|
maintainers = with maintainers; [ jb55 ];
|
|
|
|
license = licenses.gpl3;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = with platforms; linux;
|
2015-08-17 05:05:14 +02:00
|
|
|
};
|
|
|
|
}
|