about summary refs log tree commit diff
path: root/pkgs/by-name/an
diff options
context:
space:
mode:
authoraleksana <me@aleksana.moe>2023-12-19 21:08:49 +0800
committeraleksana <me@aleksana.moe>2023-12-19 21:31:22 +0800
commit6ac9b874e678ae5601f2b9fd62cece837f9f8682 (patch)
tree32109499eae3b51505655bafe3c120f7c0787b87 /pkgs/by-name/an
parent21af9192e64358a5be0c7da34b1ad0f629426f29 (diff)
annotator: init at 1.2.1
Diffstat (limited to 'pkgs/by-name/an')
-rw-r--r--pkgs/by-name/an/annotator/package.nix51
1 files changed, 51 insertions, 0 deletions
diff --git a/pkgs/by-name/an/annotator/package.nix b/pkgs/by-name/an/annotator/package.nix
new file mode 100644
index 0000000000000..3d2498e335009
--- /dev/null
+++ b/pkgs/by-name/an/annotator/package.nix
@@ -0,0 +1,51 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, pkg-config
+, meson
+, ninja
+, vala
+, wrapGAppsHook
+, 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
+    wrapGAppsHook
+    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;
+  };
+}