49 lines
865 B
Nix
49 lines
865 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
libwpg,
|
|
libwpd,
|
|
lcms2,
|
|
pkg-config,
|
|
librevenge,
|
|
icu,
|
|
boost,
|
|
cppunit,
|
|
zlib,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libcdr";
|
|
version = "0.1.9";
|
|
|
|
src = fetchurl {
|
|
url = "https://dev-www.libreoffice.org/src/libcdr-${finalAttrs.version}.tar.xz";
|
|
hash = "sha256-97tqvdfyJoIPKIqT3Y0HdZgzwCUNniAq+Q+bMSxGZaM=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
buildInputs = [
|
|
libwpg
|
|
libwpd
|
|
lcms2
|
|
librevenge
|
|
icu
|
|
boost
|
|
cppunit
|
|
zlib
|
|
];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
description = "Library providing ability to interpret and import Corel Draw drawings into various applications";
|
|
homepage = "https://wiki.documentfoundation.org/DLP/Libraries/libcdr";
|
|
platforms = lib.platforms.all;
|
|
license = lib.licenses.mpl20;
|
|
};
|
|
})
|