base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / li / libetonyek / package.nix
blob393f542a9ea9f14364b550cea77287beb78c55db
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , autoreconfHook
5 , pkg-config
6 # fails on older Boost due to https://github.com/boostorg/phoenix/issues/111
7 , boost184
8 , cppunit
9 , glm
10 , gperf
11 , liblangtag
12 , librevenge
13 , libxml2
14 , mdds
15 , zlib
18 stdenv.mkDerivation rec {
19   pname = "libetonyek";
20   version = "0.1.10";
22   src = fetchFromGitHub {
23     owner = "LibreOffice";
24     repo = "libetonyek";
25     rev = "libetonyek-${version}";
26     hash = "sha256-wgyeQj1sY78sbbZT+NZuq9HEKB+ta7wwipbfN3JkyyU=";
27   };
29   nativeBuildInputs = [
30     autoreconfHook
31     pkg-config
32   ];
34   buildInputs = [
35     boost184
36     cppunit
37     glm
38     gperf
39     liblangtag
40     librevenge
41     libxml2
42     mdds
43     zlib
44   ];
46   configureFlags = ["--with-mdds=2.1"];
48   meta = with lib; {
49     description = "Library and a set of tools for reading and converting Apple iWork documents (Keynote, Pages and Numbers)";
50     homepage = "https://github.com/LibreOffice/libetonyek";
51     changelog = "https://github.com/LibreOffice/libetonyek/blob/${src.rev}/NEWS";
52     license = licenses.mpl20;
53     maintainers = [ ];
54     platforms = platforms.all;
55   };