at 23.11-beta 81 lines 1.4 kB view raw
1{ stdenv 2, lib 3, fetchFromGitLab 4, pkg-config 5, glib 6, sqlite 7, gobject-introspection 8, vala 9, autoconf 10, automake 11, libtool 12, gettext 13, dbus 14, gtk3 15, json-glib 16, librdf_raptor2 17, pythonSupport ? true 18, python3 19}: 20 21stdenv.mkDerivation rec { 22 pname = "zeitgeist"; 23 version = "1.0.4"; 24 25 outputs = [ "out" "lib" "dev" "man" ] ++ lib.optional pythonSupport "py"; 26 27 src = fetchFromGitLab { 28 domain = "gitlab.freedesktop.org"; 29 owner = pname; 30 repo = pname; 31 rev = "v${version}"; 32 sha256 = "kG1N8DXgjYAJ8fbrGHsp7eTqB20H5smzRnW0PSRUYR0="; 33 }; 34 35 nativeBuildInputs = [ 36 autoconf 37 automake 38 libtool 39 pkg-config 40 gettext 41 gobject-introspection 42 vala 43 python3 44 ]; 45 46 buildInputs = [ 47 glib 48 sqlite 49 dbus 50 gtk3 51 json-glib 52 librdf_raptor2 53 python3.pkgs.rdflib 54 ]; 55 56 configureFlags = [ 57 "--disable-telepathy" 58 ]; 59 60 enableParallelBuilding = true; 61 62 postPatch = '' 63 patchShebangs data/ontology2code 64 ''; 65 66 preConfigure = '' 67 NOCONFIGURE=1 ./autogen.sh 68 ''; 69 70 postFixup = lib.optionalString pythonSupport '' 71 moveToOutput lib/${python3.libPrefix} "$py" 72 ''; 73 74 meta = with lib; { 75 description = "A service which logs the userss activities and events"; 76 homepage = "https://zeitgeist.freedesktop.org/"; 77 maintainers = teams.freedesktop.members ++ (with maintainers; [ ]); 78 license = licenses.lgpl21Plus; 79 platforms = platforms.linux; 80 }; 81}