3
0
Fork 0
forked from mirrors/nixpkgs

Finance::Quote: Fix the Yahoo source

This commit is contained in:
Eelco Dolstra 2014-02-14 10:54:00 +01:00
parent 69f4bdac6e
commit ca5f99b9ea
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,12 @@
diff -ru Finance-Quote-1.18-orig/lib/Finance/Quote/Yahoo/USA.pm Finance-Quote-1.18/lib/Finance/Quote/Yahoo/USA.pm
--- Finance-Quote-1.18-orig/lib/Finance/Quote/Yahoo/USA.pm 2012-09-30 13:37:20.000000000 +0000
+++ Finance-Quote-1.18/lib/Finance/Quote/Yahoo/USA.pm 2014-02-13 22:02:53.538698928 +0000
@@ -41,7 +41,7 @@
# URLs of where to obtain information.
-$YAHOO_URL = ("http://finance.yahoo.com/d");
+$YAHOO_URL = ("http://finance.yahoo.com/d/quotes.csv");
sub methods {return (canada => \&yahoo,
usa => \&yahoo,

View file

@ -3558,6 +3558,7 @@ let self = _self // overrides; _self = with self; {
sha256 = "4240faabe0646defd4ec76ca9e111977b9e8060eaec41adeb284eb422a428393";
};
propagatedBuildInputs = [ CryptSSLeay HTMLTableExtract HTMLTree HTTPMessage LWP ];
patches = [ ../development/perl-modules/finance-quote-yahoo.patch ];
meta = {
homepage = http://finance-quote.sourceforge.net/;
description = "Get stock and mutual fund quotes from various exchanges";