bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
28 lines
693 B
Nix
28 lines
693 B
Nix
{ lib, stdenv, fetchurl, boost, pkg-config, cppunit, zlib, libwpg, libwpd, librevenge }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libodfgen";
|
|
version = "0.1.7";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/project/libwpd/libodfgen/libodfgen-${version}/libodfgen-${version}.tar.xz";
|
|
sha256 = "sha256-Mj5JH5VsjKKrsSyZjjUGcJMKMjF7+WYrBhXdSzkiuDE=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
boost
|
|
cppunit
|
|
zlib
|
|
libwpg
|
|
libwpd
|
|
librevenge
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Base library for generating ODF documents";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ raskin ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|