Merge branch 'master' into staging
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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" ];
|
||||
|
||||
Reference in New Issue
Block a user