From 894fad326a62e6724da1082bca77ce10cfcd9cc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Wed, 27 Jun 2012 23:19:30 +0200 Subject: [PATCH] offrss: update to 1.3 I also enabled the iconv linking on non-linux. --- pkgs/applications/networking/offrss/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/offrss/default.nix b/pkgs/applications/networking/offrss/default.nix index ea994c889e2f..5166e8795d57 100644 --- a/pkgs/applications/networking/offrss/default.nix +++ b/pkgs/applications/networking/offrss/default.nix @@ -1,7 +1,7 @@ -{stdenv, fetchurl, curl, libmrss}: +{ stdenv, fetchurl, curl, libmrss, podofo, libiconv }: stdenv.mkDerivation { - name = "offrss-1.1"; + name = "offrss-1.3"; installPhase = '' mkdir -p $out/bin @@ -12,11 +12,16 @@ stdenv.mkDerivation { makeFlags = "CC=${stdenv.cross.config}-gcc"; }; - buildInputs = [ curl libmrss ]; + buildInputs = [ curl libmrss podofo ] + ++ stdenv.lib.optional (!stdenv.isLinux) libiconv; + + configurePhase = stdenv.lib.optionalString (!stdenv.isLinux) '' + sed 's/#EXTRA/EXTRA/' -i Makefile + ''; src = fetchurl { - url = http://vicerveza.homeunix.net/~viric/soft/offrss/offrss-1.1.tar.gz; - sha256 = "1l8c5sw368zbrcfq4wf963fbh29q9lqgsn0lbsiwz3vpybc8plp2"; + url = http://vicerveza.homeunix.net/~viric/soft/offrss/offrss-1.3.tar.gz; + sha256 = "1akw1x84jj2m9z60cvlvmz21qwlaywmw18pl7lgp3bj5nw6250p6"; }; meta = {