nixpkgs/pkgs/by-name/li/libmwaw/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
717 B
Nix
Raw Normal View History

2021-12-21 11:41:33 +00:00
{ lib, stdenv, fetchurl, boost, pkg-config, cppunit, zlib, libwpg, libwpd, librevenge }:
stdenv.mkDerivation rec {
pname = "libmwaw";
2023-06-12 11:09:15 +00:00
version = "0.3.22";
2021-12-21 11:41:33 +00:00
src = fetchurl {
url = "mirror://sourceforge/libmwaw/libmwaw/libmwaw-${version}/libmwaw-${version}.tar.xz";
2023-06-12 11:09:15 +00:00
sha256 = "sha256-oaOf/Oo/8qenquDCOHfd9JGLVUv4Kw3l186Of2HqjjI=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
2021-12-21 11:41:33 +00:00
boost
cppunit
zlib
libwpg
libwpd
librevenge
];
2021-07-22 15:00:44 +00:00
enableParallelBuilding = true;
2021-12-21 11:41:33 +00:00
meta = with lib; {
description = "Import library for some old mac text documents";
2021-12-21 11:41:33 +00:00
license = licenses.mpl20;
maintainers = with maintainers; [ raskin ];
platforms = platforms.unix;
};
}