fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, fetchgit, libX11, libXScrnSaver, libXext, glib, dbus, pkgconfig, systemd }:
2
3stdenv.mkDerivation {
4 name = "lightum-2014-06-07";
5 src = fetchgit {
6 url = https://github.com/poliva/lightum;
7 rev = "123e6babe0669b23d4c1dfa5511088608ff2baa8";
8 sha256 = "01x24rcrkgksyvqpgkr9zafg3jgs8nqng8yf0hx0kbmcimar8dbp";
9 };
10
11 buildInputs = [
12 dbus
13 glib
14 libX11
15 libXScrnSaver
16 libXext
17 pkgconfig
18 systemd
19 ];
20
21 patchPhase = ''
22 substituteInPlace Makefile \
23 --replace "libsystemd-login" "libsystemd"
24 '';
25
26 installPhase = ''
27 make install prefix=$out bindir=$out/bin docdir=$out/share/doc \
28 mandir=$out/share/man INSTALL="install -c" INSTALLDATA="install -c -m 644"
29 '';
30
31 meta = {
32 description = "MacBook automatic light sensor daemon";
33 homepage = https://github.com/poliva/lightum;
34 license = stdenv.lib.licenses.gpl2;
35 maintainers = with stdenv.lib.maintainers; [ puffnfresh ];
36 platforms = stdenv.lib.platforms.linux;
37 };
38}