mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
Adding libodfgen: a library for writing ODF
This commit is contained in:
parent
9444cfcab0
commit
8d514df1ef
29
pkgs/development/libraries/libodfgen/default.nix
Normal file
29
pkgs/development/libraries/libodfgen/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{stdenv, fetchurl, boost, pkgconfig, cppunit, zlib, libwpg, libwpd, librevenge}:
|
||||
let
|
||||
s = # Generated upstream information
|
||||
rec {
|
||||
baseName="libodfgen";
|
||||
version="0.1.1";
|
||||
name="${baseName}-${version}";
|
||||
hash="1p335m2l19c7glsss30rrm5dxfcyajk9fvj7rsclgn0kmb4y48cm";
|
||||
url="mirror://sourceforge/project/libwpd/libodfgen/libodfgen-0.1.1/libodfgen-0.1.1.tar.xz";
|
||||
sha256="1p335m2l19c7glsss30rrm5dxfcyajk9fvj7rsclgn0kmb4y48cm";
|
||||
};
|
||||
buildInputs = [
|
||||
boost pkgconfig cppunit zlib libwpg libwpd librevenge
|
||||
];
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit (s) name version;
|
||||
inherit buildInputs;
|
||||
src = fetchurl {
|
||||
inherit (s) url sha256;
|
||||
};
|
||||
meta = {
|
||||
inherit (s) version;
|
||||
description = ''A base library for generating ODF documents'';
|
||||
license = stdenv.lib.licenses.mpl20 ;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
4
pkgs/development/libraries/libodfgen/default.upstream
Normal file
4
pkgs/development/libraries/libodfgen/default.upstream
Normal file
@ -0,0 +1,4 @@
|
||||
url http://sourceforge.net/projects/libwpd/files/libodfgen/
|
||||
SF_version_dir libodfgen-
|
||||
version_link '[.]tar.xz/download$'
|
||||
SF_redirect
|
@ -5329,6 +5329,8 @@ let
|
||||
|
||||
libnxml = callPackage ../development/libraries/libnxml { };
|
||||
|
||||
libodfgen = callPackage ../development/libraries/libodfgen { };
|
||||
|
||||
libofa = callPackage ../development/libraries/libofa { };
|
||||
|
||||
libofx = callPackage ../development/libraries/libofx { };
|
||||
|
Loading…
Reference in New Issue
Block a user