1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 isPy3k,
6}:
7
8buildPythonPackage rec {
9 pname = "yahooweather";
10 version = "0.10";
11 format = "setuptools";
12
13 disabled = !isPy3k;
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "0bsxmngkpzvqm50i2cnxjzhpbdhb8s10ly8h5q08696cjihqdkpa";
18 };
19
20 # Tests require network access
21 doCheck = false;
22
23 meta = with lib; {
24 description = "Provide an interface to the Yahoo! Weather RSS feed";
25 homepage = "https://github.com/pvizeli/yahooweather";
26 license = licenses.bsd2;
27 maintainers = with maintainers; [ peterhoeg ];
28 };
29}