mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
30 lines
717 B
Nix
30 lines
717 B
Nix
{ lib, stdenv, fetchurl, boost, pkg-config, cppunit, zlib, libwpg, libwpd, librevenge }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libmwaw";
|
|
version = "0.3.21";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/libmwaw/libmwaw/libmwaw-${version}/libmwaw-${version}.tar.xz";
|
|
sha256 = "sha256-6HUBI6eNYblDzveLdzbIp/ILsKZJqhEkAhJPunlPwhw=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
boost
|
|
cppunit
|
|
zlib
|
|
libwpg
|
|
libwpd
|
|
librevenge
|
|
];
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Import library for some old mac text documents";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ raskin ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|