2021-12-24 04:21:11 +00:00
|
|
|
{ lib, stdenv, fetchurl, boost, pkg-config, cppunit, zlib, libwpg, libwpd, librevenge }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libmwaw";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "0.3.22";
|
2021-12-24 04:21:11 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/libmwaw/libmwaw/libmwaw-${version}/libmwaw-${version}.tar.xz";
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-oaOf/Oo/8qenquDCOHfd9JGLVUv4Kw3l186Of2HqjjI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
2021-12-24 04:21:11 +00:00
|
|
|
boost
|
|
|
|
cppunit
|
|
|
|
zlib
|
|
|
|
libwpg
|
|
|
|
libwpd
|
|
|
|
librevenge
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
2021-07-24 12:14:16 +00:00
|
|
|
enableParallelBuilding = true;
|
2021-12-24 04:21:11 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2021-02-05 17:12:51 +00:00
|
|
|
description = "Import library for some old mac text documents";
|
2021-12-24 04:21:11 +00:00
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ raskin ];
|
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|