mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
44 lines
696 B
Nix
44 lines
696 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
pkg-config,
|
|
glib,
|
|
libgsf,
|
|
libxml2,
|
|
bzip2,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libwpd";
|
|
version = "0.8.14";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/libwpd/libwpd-${version}.tar.gz";
|
|
sha256 = "1syli6i5ma10cwzpa61a18pyjmianjwsf6pvmvzsh5md6yk4yx01";
|
|
};
|
|
|
|
patches = [ ./gcc-0.8.patch ];
|
|
|
|
buildInputs = [
|
|
glib
|
|
libgsf
|
|
libxml2
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
bzip2
|
|
];
|
|
|
|
meta = {
|
|
description = "Library for importing WordPerfect documents";
|
|
homepage = "https://libwpd.sourceforge.net";
|
|
license = with lib.licenses; [
|
|
lgpl21
|
|
mpl20
|
|
];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|