mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
offrss: update to 1.3
I also enabled the iconv linking on non-linux.
This commit is contained in:
parent
002ffde4a4
commit
894fad326a
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user