@@ -0,0 +1,36 @@
1+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, python2, gnome_python, gnome_python_desktop }:
2+
3+stdenv.mkDerivation rec {
4+ name = "gnome15-2016-06-10";
5+
6+ src = fetchFromGitHub {
7+ owner = "achilleas-k";
8+ repo = "gnome15";
9+ rev = "1077c890d9ba8ef7a5e448e70a792de5c7443c84";
10+ sha256 = "0z5k2rgvv5zyi3lbbk6svncypidj44qzfchivb4vlr7clmh16m95";
11+ };
12+
13+ nativeBuildInputs = [ autoreconfHook pkgconfig python2.pkgs.wrapPython ];
14+ buildInputs = [ python2 ];
15+ propagatedBuildInputs = with python2.pkgs; [
16+ pygtk keyring virtkey pillow dbus-python pyinotify lxml pyxdg pyusb gnome_python gnome_python_desktop
17+ python-uinput xlib pyudev pyinputevent
18+ ];
19+
20+ postPatch = ''
21+ touch README
22+ export UDEV_RULES_PATH="$out/lib/udev/rules.d"
23+ '';
24+
25+ postFixup = ''
26+ wrapPythonPrograms
27+ '';
28+
29+ meta = with stdenv.lib; {
30+ description = "A set of tools for configuring the Logitech G15 keyboard";
31+ license = licenses.gpl3;
32+ homepage = "https://gnome15.org/";
33+ platforms = platforms.linux;
34+ maintainers = with maintainers; [ abbradar ];
35+ };
36+}