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

27 lines
692 B
Nix
Raw Normal View History

2017-05-17 19:26:11 +00:00
{ mkDerivation, lib, cmake, pkgconfig, SDL2, qtbase, qttools, xorg, fetchFromGitHub }:
2017-05-17 19:26:11 +00:00
mkDerivation rec {
name = "antimicro-${version}";
2017-02-19 20:47:04 +00:00
version = "2.23";
src = fetchFromGitHub {
owner = "AntiMicro";
repo = "antimicro";
rev = "${version}";
2017-02-19 20:47:04 +00:00
sha256 = "1q40ayxwwyq85lc89cnj1cm2nar625h4vhh8dvmb2qcxczaggf4v";
};
2017-05-17 19:26:11 +00:00
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
2017-05-17 19:26:11 +00:00
SDL2 qtbase qttools xorg.libXtst
];
2017-05-17 19:26:11 +00:00
meta = with 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;
};
}