depot/third_party/nixpkgs/pkgs/development/python-modules/python-forecastio/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

31 lines
658 B
Nix

{ buildPythonPackage, lib, fetchPypi
, requests
, nose
, responses
}:
buildPythonPackage rec {
pname = "python-forecastio";
version = "1.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "0m6lf4a46pnwm5xg9dnmwslwzrpnj6d9agw570grciivbvb1ji0l";
};
nativeCheckInputs = [ nose ];
propagatedBuildInputs = [ requests responses ];
checkPhase = ''
nosetests
'';
meta = with lib; {
homepage = "https://zeevgilovitz.com/python-forecast.io/";
description = "A thin Python Wrapper for the Dark Sky (formerly forecast.io) weather API";
license = licenses.bsd2;
maintainers = with maintainers; [ makefu ];
};
}