2016-04-26 08:45:48 +00:00
|
|
|
{ stdenv, cmake, pkgconfig, SDL2, qtbase, qttools, xorg, fetchFromGitHub }:
|
2015-08-17 03:05:14 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "antimicro-${version}";
|
2016-04-26 08:45:48 +00:00
|
|
|
version = "2.18.2";
|
2015-08-17 03:05:14 +00:00
|
|
|
|
2016-04-26 08:45:48 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "7185";
|
|
|
|
repo = "antimicro";
|
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "1mqw5idn57yj6c1w8y0byzh0xafcpbhaa6czgljh206abwfixjmk";
|
2015-08-17 03:05:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2015-12-20 00:31:25 +00:00
|
|
|
cmake pkgconfig SDL2 qtbase qttools xorg.libXtst
|
2015-08-17 03:05:14 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "GUI for mapping keyboard and mouse controls to a gamepad";
|
|
|
|
homepage = "https://github.com/Ryochan7/antimicro";
|
|
|
|
maintainers = with maintainers; [ jb55 ];
|
|
|
|
license = licenses.gpl3;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = with platforms; linux;
|
2015-08-17 03:05:14 +00:00
|
|
|
};
|
|
|
|
}
|