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