about summary refs log tree commit diff
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2024-05-18 23:05:55 +0300
committerK900 <me@0upti.me>2024-05-21 19:56:09 +0300
commitda4abb904acc2e90be93fee7d08c8fe5c7e66606 (patch)
tree0eb1013904aa0882bc065ee443610bea316f9464
parentb1f998f5c7704ec0f88586d4f77a012ee3c9c444 (diff)
libetonyek: init at 0.1.10
-rw-r--r--pkgs/by-name/li/libetonyek/package.nix54
1 files changed, 54 insertions, 0 deletions
diff --git a/pkgs/by-name/li/libetonyek/package.nix b/pkgs/by-name/li/libetonyek/package.nix
new file mode 100644
index 0000000000000..4d0811ace7ba7
--- /dev/null
+++ b/pkgs/by-name/li/libetonyek/package.nix
@@ -0,0 +1,54 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, autoreconfHook
+, pkg-config
+# fails on older Boost due to https://github.com/boostorg/phoenix/issues/111
+, boost184
+, cppunit
+, glm
+, gperf
+, liblangtag
+, librevenge
+, libxml2
+, mdds
+}:
+
+stdenv.mkDerivation rec {
+  pname = "libetonyek";
+  version = "0.1.10";
+
+  src = fetchFromGitHub {
+    owner = "LibreOffice";
+    repo = "libetonyek";
+    rev = "libetonyek-${version}";
+    hash = "sha256-wgyeQj1sY78sbbZT+NZuq9HEKB+ta7wwipbfN3JkyyU=";
+  };
+
+  nativeBuildInputs = [
+    autoreconfHook
+    pkg-config
+  ];
+
+  buildInputs = [
+    boost184
+    cppunit
+    glm
+    gperf
+    liblangtag
+    librevenge
+    libxml2
+    mdds
+  ];
+
+  configureFlags = ["--with-mdds=2.1"];
+
+  meta = with lib; {
+    description = "A library and a set of tools for reading and converting Apple iWork documents (Keynote, Pages and Numbers).";
+    homepage = "https://github.com/LibreOffice/libetonyek";
+    changelog = "https://github.com/LibreOffice/libetonyek/blob/${src.rev}/NEWS";
+    license = licenses.mpl20;
+    maintainers = [ ];
+    platforms = platforms.all;
+  };
+}