2024-02-29 20:09:43 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libwpd, zlib, librevenge, boost }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-21 07:28:18 +00:00
|
|
|
pname = "libwpg";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "0.3.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-21 07:28:18 +00:00
|
|
|
url = "mirror://sourceforge/libwpg/${pname}-${version}.tar.xz";
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-tV/alEDR4HBjDrJIfYuGl89BLCFKJ8runfac7HwATeM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
buildInputs = [ libwpd zlib librevenge boost ];
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2023-02-22 10:55:15 +00:00
|
|
|
homepage = "https://libwpg.sourceforge.net";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "C++ library to parse WPG";
|
|
|
|
license = with licenses; [ lgpl21 mpl20 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|