nixpkgs/pkgs/tools/misc/antimicro/default.nix

26 lines
668 B
Nix
Raw Normal View History

{ stdenv, cmake, pkgconfig, SDL2, qtbase, qttools, xorg, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "antimicro-${version}";
2017-02-19 21:47:04 +01:00
version = "2.23";
src = fetchFromGitHub {
owner = "AntiMicro";
repo = "antimicro";
rev = "${version}";
2017-02-19 21:47:04 +01:00
sha256 = "1q40ayxwwyq85lc89cnj1cm2nar625h4vhh8dvmb2qcxczaggf4v";
};
buildInputs = [
2015-12-20 01:31:25 +01:00
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;
};
}