Files
nixpkgs/pkgs/development/libraries/libwpd/0.8.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
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>
2025-12-10 18:09:49 +01:00

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;
};
}