1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/tools/misc/antimicro/default.nix
2016-09-08 23:35:15 +02:00

26 lines
668 B
Nix

{ stdenv, cmake, pkgconfig, SDL2, qtbase, qttools, xorg, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "antimicro-${version}";
version = "2.22";
src = fetchFromGitHub {
owner = "AntiMicro";
repo = "antimicro";
rev = "${version}";
sha256 = "102fh9ysd2dmfc6b73bj88m064jhlglqrz2gd7k9jccadxpbp3mq";
};
buildInputs = [
cmake pkgconfig SDL2 qtbase qttools xorg.libXtst
];
meta = with stdenv.lib; {
description = "GUI for mapping keyboard and mouse controls to a gamepad";
inherit (src.meta) homepage;
maintainers = with maintainers; [ jb55 ];
license = licenses.gpl3;
platforms = with platforms; linux;
};
}