about summary refs log tree commit diff
path: root/pkgs/by-name/an/annotator/package.nix
blob: 115d6db2d8cb54e1809c776972c15172fed6977b (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, meson
, ninja
, vala
, wrapGAppsHook3
, desktop-file-utils
, libgee
, pantheon
, libxml2
, libhandy
}:

stdenv.mkDerivation rec {
  pname = "annotator";
  version = "1.2.1";

  src = fetchFromGitHub {
    owner = "phase1geo";
    repo = "annotator";
    rev = version;
    hash = "sha256-VHvznkGvrE8o9qq+ijrIStSavq46dS8BqclWEWZ8mG8=";
  };

  nativeBuildInputs = [
    pkg-config
    meson
    ninja
    vala
    wrapGAppsHook3
    desktop-file-utils
  ];

  buildInputs = [
    libgee
    pantheon.granite
    libxml2
    libhandy
  ];

  meta = with lib; {
    description = "Image annotation for Elementary OS";
    homepage = "https://github.com/phase1geo/Annotator";
    license = licenses.gpl3Plus;
    mainProgram = "com.github.phase1geo.annotator";
    maintainers = with maintainers; [ aleksana ];
    platforms = platforms.linux;
  };
}