1 { lib, stdenv, fetchFromGitHub, udev }:
4 pname = "moltengamepad";
5 version = "unstable-2016-05-04";
7 src = fetchFromGitHub {
9 repo = "MoltenGamepad";
10 rev = "6656357964c22be97227fc5353b53c6ab1e69929";
11 sha256 = "05cpxfzxgm86kxx0a9f76bshjwpz9w1g8bn30ib1i5a3fv7bmirl";
14 hardeningDisable = [ "format" ];
16 buildInputs = [ udev ];
24 cp moltengamepad $out/bin
28 sed -i -e '159d;161d;472d;473d;474d;475d' source/eventlists/key_list.cpp
32 homepage = "https://github.com/jgeumlek/MoltenGamepad";
33 description = "Flexible Linux input device translator, geared for gamepads";
34 license = licenses.mit;
35 maintainers = [ maintainers.ebzzry ];
36 platforms = platforms.linux;