depot/third_party/nixpkgs/pkgs/development/python-modules/yahooweather/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

29 lines
592 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
isPy3k,
}:
buildPythonPackage rec {
pname = "yahooweather";
version = "0.10";
format = "setuptools";
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 ];
};
}