summary refs log tree commit diff
path: root/pkgs/tools/misc/antimicro/default.nix
blob: 80791756e659320595e53f7cc2c69f2f4a4efa11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, cmake, pkgconfig, SDL2, qt5, xlibs, fetchzip }:

stdenv.mkDerivation rec {
  name = "antimicro-${version}";
  version = "2.18";

  src = fetchzip {
    url    = "https://github.com/Ryochan7/antimicro/archive/${version}.tar.gz";
    sha256 = "0kyl4xl2am50v2xscgy2irpcdj78f7flgfhljyjck4ynf8d40vb7";
  };

  buildInputs = [
    cmake pkgconfig SDL2 qt5.base qt5.tools xlibs.libXtst
  ];

  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;
  };
}