depot/third_party/nixpkgs/pkgs/development/python-modules/yahooweather/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
558 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy3k }:
buildPythonPackage rec {
pname = "yahooweather";
version = "0.10";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0bsxmngkpzvqm50i2cnxjzhpbdhb8s10ly8h5q08696cjihqdkpa";
};
# Tests require network access
doCheck = false;
meta = with lib; {
description = "Provide an interface to the Yahoo! Weather RSS feed";
homepage = "https://github.com/pvizeli/yahooweather";
license = licenses.bsd2;
maintainers = with maintainers; [ peterhoeg ];
};
}