2014-05-02 16:39:18 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, sqlite, gnome3, vala
|
|
|
|
, intltool, libtool, python, dbus_libs, telepathy_glib
|
|
|
|
, gtk3, json_glib, librdf_raptor2, pythonPackages, dbus_glib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-08-27 19:53:02 +01:00
|
|
|
version = "0.9.15";
|
|
|
|
name = "zeitgeist-${version}";
|
2014-05-02 16:39:18 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-08-27 19:53:02 +01:00
|
|
|
url = "https://github.com/seiflotfy/zeitgeist/archive/v${version}.tar.gz";
|
2014-05-02 16:39:18 +01:00
|
|
|
sha256 = "07pnc7kmjpd0ncm32z6s3ny5p4zl52v9lld0n0f8sp6cw87k12p0";
|
|
|
|
};
|
|
|
|
|
2016-04-16 17:57:59 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
2014-05-02 16:39:18 +01:00
|
|
|
|
|
|
|
configureScript = "./autogen.sh";
|
|
|
|
|
|
|
|
configureFlags = [ "--with-session-bus-services-dir=$(out)/share/dbus-1/services" ];
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig glib sqlite gnome3.gnome_common intltool
|
|
|
|
libtool python dbus_libs telepathy_glib vala dbus_glib
|
|
|
|
gtk3 json_glib librdf_raptor2 pythonPackages.rdflib ];
|
|
|
|
|
2015-01-08 09:26:49 +00:00
|
|
|
prePatch = "patchShebangs .";
|
|
|
|
|
2014-05-02 16:39:18 +01:00
|
|
|
patches = [ ./dbus_glib.patch ];
|
|
|
|
|
|
|
|
patchFlags = [ "-p0" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2014-06-23 12:37:40 +01:00
|
|
|
description = "A service which logs the users's activities and events";
|
2014-05-02 16:39:18 +01:00
|
|
|
homepage = https://launchpad.net/zeitgeist;
|
|
|
|
maintainers = with maintainers; [ lethalman ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|