diff options
author | makefu <github@syntax-fehler.de> | 2018-06-14 23:32:30 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-06-26 18:35:04 +0200 |
commit | ecac42bd87eb6882dec84ec97ae890c61008689e (patch) | |
tree | 6ab3c42439e3c270a9e642e20bf6a626ce827bee /pkgs/development/python-modules/python-forecastio | |
parent | 889bb6873dfd8726fa76b148fb7ee3cf575ed645 (diff) | |
download | nixpkgs-ecac42bd87eb6882dec84ec97ae890c61008689e.tar nixpkgs-ecac42bd87eb6882dec84ec97ae890c61008689e.tar.gz nixpkgs-ecac42bd87eb6882dec84ec97ae890c61008689e.tar.bz2 nixpkgs-ecac42bd87eb6882dec84ec97ae890c61008689e.tar.lz nixpkgs-ecac42bd87eb6882dec84ec97ae890c61008689e.tar.xz nixpkgs-ecac42bd87eb6882dec84ec97ae890c61008689e.tar.zst nixpkgs-ecac42bd87eb6882dec84ec97ae890c61008689e.zip |
pythonPackages.python-forecastio: init at 1.4.0
Diffstat (limited to 'pkgs/development/python-modules/python-forecastio')
-rw-r--r-- | pkgs/development/python-modules/python-forecastio/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-forecastio/default.nix b/pkgs/development/python-modules/python-forecastio/default.nix new file mode 100644 index 00000000000..68f9ad16977 --- /dev/null +++ b/pkgs/development/python-modules/python-forecastio/default.nix @@ -0,0 +1,31 @@ +{ buildPythonPackage, stdenv, fetchPypi +, requests +, nose +, responses +}: + +buildPythonPackage rec { + pname = "python-forecastio"; + version = "1.4.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "0m6lf4a46pnwm5xg9dnmwslwzrpnj6d9agw570grciivbvb1ji0l"; + + }; + + checkInputs = [ nose ]; + + propagatedBuildInputs = [ requests responses ]; + + checkPhase = '' + nosetests + ''; + + meta = with stdenv.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 ]; + }; +} |