nixpkgs/pkgs/development/libraries/zeitgeist/default.nix

40 lines
1.2 KiB
Nix
Raw Normal View History

2016-08-21 18:14:27 +01:00
{ stdenv, fetchurl, pkgconfig, glib, sqlite, gnome3, vala_0_23
, 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}";
src = fetchurl {
2014-08-27 19:53:02 +01:00
url = "https://github.com/seiflotfy/zeitgeist/archive/v${version}.tar.gz";
sha256 = "07pnc7kmjpd0ncm32z6s3ny5p4zl52v9lld0n0f8sp6cw87k12p0";
};
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
configureScript = "./autogen.sh";
configureFlags = [ "--with-session-bus-services-dir=$(out)/share/dbus-1/services" ];
buildInputs = [ pkgconfig glib sqlite gnome3.gnome_common intltool
2016-08-21 18:14:27 +01:00
libtool python dbus_libs telepathy_glib vala_0_23 dbus_glib
gtk3 json_glib librdf_raptor2 pythonPackages.rdflib ];
prePatch = "patchShebangs .";
patches = [ ./dbus_glib.patch ];
patchFlags = [ "-p0" ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "A service which logs the users's activities and events";
homepage = https://launchpad.net/zeitgeist;
maintainers = with maintainers; [ lethalman ];
license = licenses.gpl2;
platforms = platforms.linux;
};
}