Merge branch 'master' into staging

This commit is contained in:
obadz
2016-08-24 11:57:44 +01:00
46 changed files with 363 additions and 50 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, zlib }:
{ stdenv, fetchurl, zlib, libiconv }:
stdenv.mkDerivation rec {
name = "odt2txt-0.4";
@@ -10,7 +10,9 @@ stdenv.mkDerivation rec {
configurePhase="export makeFlags=\"DESTDIR=$out\"";
buildInputs = [ zlib ];
buildInputs = [ zlib libiconv ];
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-liconv";
meta = {
description = "Simple .odt to .txt converter";

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, autoconf, automake }:
{ stdenv, fetchurl, autoconf, automake, libiconv }:
stdenv.mkDerivation rec {
name = "unrtf-${version}";
@@ -11,6 +11,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoconf automake ];
buildInputs = [ ] ++ stdenv.lib.optional stdenv.isDarwin libiconv;
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-liconv";
preConfigure = "./bootstrap";
outputs = [ "out" "man" ];