1{
2 lib,
3 stdenv,
4 fetchurl,
5 gettext,
6 pkg-config,
7 glib,
8 libnotify,
9 gtk3,
10 libgee,
11 keybinder3,
12 json-glib,
13 zeitgeist,
14 vala,
15 gobject-introspection,
16}:
17
18let
19 version = "0.2.99.4";
20in
21stdenv.mkDerivation rec {
22 pname = "synapse";
23 inherit version;
24
25 src = fetchurl {
26 url = "https://launchpad.net/synapse-project/0.3/${version}/+download/${pname}-${version}.tar.xz";
27 sha256 = "1g6x9knb4jy1d8zgssjhzkgac583137pibisy9whjs8mckaj4k1j";
28 };
29
30 nativeBuildInputs = [
31 pkg-config
32 gettext
33 vala
34 # For setup hook
35 gobject-introspection
36 ];
37 buildInputs = [
38 glib
39 libnotify
40 gtk3
41 libgee
42 keybinder3
43 json-glib
44 zeitgeist
45 ];
46
47 meta = with lib; {
48 longDescription = ''
49 Semantic launcher written in Vala that you can use to start applications
50 as well as find and access relevant documents and files by making use of
51 the Zeitgeist engine
52 '';
53 description = "Semantic launcher to start applications and find relevant files";
54 homepage = "https://launchpad.net/synapse-project";
55 license = licenses.gpl3;
56 maintainers = with maintainers; [ mahe ];
57 platforms = with platforms; all;
58 mainProgram = "synapse";
59 };
60}