summary refs log tree commit diff
path: root/pkgs/applications/misc/synapse/default.nix
blob: 13f3fa98d56d620af50cbf4f9d990e3ea47d30af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ stdenv, fetchurl, intltool, pkgconfig, glib, libnotify, gtk3, libgee
, keybinder3, json_glib, zeitgeist, vala_0_34, hicolor_icon_theme, gobjectIntrospection
}:

let
  version = "0.2.99.2";
in stdenv.mkDerivation rec {
  name = "synapse-${version}";

  src = fetchurl {
    url = "https://launchpad.net/synapse-project/0.3/${version}/+download/${name}.tar.xz";
    sha256 = "04cnsmwf9xa52dh7rpb4ia715c0ls8jg1p7llc9yf3lbg1m0bvzv";
  };

  nativeBuildInputs = [
    pkgconfig intltool vala_0_34
    # For setup hook
    gobjectIntrospection
  ];
  buildInputs = [
    glib libnotify gtk3 libgee keybinder3 json_glib zeitgeist
    hicolor_icon_theme
  ];

  meta = with stdenv.lib; {
    longDescription = ''
      Semantic launcher written in Vala that you can use to start applications
      as well as find and access relevant documents and files by making use of
      the Zeitgeist engine
    '';
    description = "Semantic launcher to start applications and find relevant files";
    homepage = https://launchpad.net/synapse-project;
    license = licenses.gpl3;
    maintainers = with maintainers; [ mahe ];
    platforms = with platforms; all;
  };
}