@@ -1,34 +0,0 @@
1−{ stdenv, fetchurl }:
2−
3−stdenv.mkDerivation {
4− name = "g500-control-0.0.1";
5−
6− src = fetchurl {
7− url = "http://g500-control.googlecode.com/files/g500_control_0.0.1.tar.gz";
8− sha256 = "1xlg9lpxnk3228k81y1i6jjh4df1p4jh64g54w969g6a6v6dazvb";
9− };
10−
11− unpackPhase = ''
12− mkdir -p g500-control
13− tar -C g500-control/ -xf $src
14− '';
15−
16− buildPhase = ''
17− cd g500-control
18− gcc -o g500-control *.c
19− '';
20−
21− installPhase = ''
22− mkdir -p $out/bin/
23− cp g500-control $out/bin/
24− '';
25−
26− meta = {
27− homepage = http://code.google.com/p/g500-control/;
28− description = "Configure Logitech G500's internal profile under Linux";
29− license = stdenv.lib.licenses.gpl2;
30− platforms = stdenv.lib.platforms.linux;
31− maintainers = with stdenv.lib.maintainers; [ the-kenny ];
32− };
33−}
34−