mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
28 lines
724 B
Nix
28 lines
724 B
Nix
{ mkDerivation, lib, cmake, pkgconfig, SDL2, qtbase, qttools, xorg, fetchFromGitHub }:
|
|
|
|
mkDerivation rec {
|
|
name = "antimicro-${version}";
|
|
version = "2.23";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AntiMicro";
|
|
repo = "antimicro";
|
|
rev = "${version}";
|
|
sha256 = "1q40ayxwwyq85lc89cnj1cm2nar625h4vhh8dvmb2qcxczaggf4v";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
buildInputs = [
|
|
SDL2 qtbase qttools xorg.libXtst
|
|
];
|
|
|
|
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;
|
|
broken = true; # 2018-04-10
|
|
};
|
|
}
|