package DDG::Spice::Hackage;
# ABSTRACT: Search for information about Hackage packages

use DDG::Spice;

triggers any => "hackage", "haskell";
spice to => 'http://localhost:8000/packages/$1.jsonp';

primary_example_queries "hackage containers";
description "Haskell packages";
name "Hackage";
code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Hackage.pm";
topics "programming";
category "programming";
attribution github => ["https://github.com/nomeata", "Joachim Breitner"],
            web => ["http://www.joachim-breitner.de", "Joachim Breitner"],
            email => ['mail@joachim-breitner.de', "Joachim Breitner"];


handle remainder => sub {
    return $_ if defined $_;
    return;   
};

1;

package DDG::Spice::Hackage;
# ABSTRACT: Search for information about Hackage packages

use DDG::Spice;

triggers any => "hackage", "haskell";
spice to => 'http://www.typeful.net/~tbot/hackage/packages/$1/$1.jsonp';

primary_example_queries "hackage containers";
description "Haskell packages";
name "Hackage";
code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Hackage.pm";
topics "programming";
category "programming";
attribution github => ["https://github.com/nomeata", "Joachim Breitner"],
            web => ["http://www.joachim-breitner.de", "Joachim Breitner"],
            email => ['mail@joachim-breitner.de', "Joachim Breitner"];


handle remainder => sub {
    return $_ if defined $_;
    return;   
};

1;

Set service API to the prospective real site
Set service API to the prospective real site
