Merge pull request #42052 from makefu/pkgs/python-forecastio/init
pythonPackages.python-forecastio: init at 1.4.0
This commit is contained in:
commit
352995d79b
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -794,7 +794,7 @@
|
|||||||
"sensor.cups" = ps: with ps; [ pycups ];
|
"sensor.cups" = ps: with ps; [ pycups ];
|
||||||
"sensor.currencylayer" = ps: with ps; [ ];
|
"sensor.currencylayer" = ps: with ps; [ ];
|
||||||
"sensor.daikin" = ps: with ps; [ ];
|
"sensor.daikin" = ps: with ps; [ ];
|
||||||
"sensor.darksky" = ps: with ps; [ ];
|
"sensor.darksky" = ps: with ps; [ python-forecastio ];
|
||||||
"sensor.deconz" = ps: with ps; [ ];
|
"sensor.deconz" = ps: with ps; [ ];
|
||||||
"sensor.deluge" = ps: with ps; [ deluge-client ];
|
"sensor.deluge" = ps: with ps; [ deluge-client ];
|
||||||
"sensor.demo" = ps: with ps; [ ];
|
"sensor.demo" = ps: with ps; [ ];
|
||||||
@ -1183,7 +1183,7 @@
|
|||||||
"weather" = ps: with ps; [ ];
|
"weather" = ps: with ps; [ ];
|
||||||
"weather.bom" = ps: with ps; [ ];
|
"weather.bom" = ps: with ps; [ ];
|
||||||
"weather.buienradar" = ps: with ps; [ ];
|
"weather.buienradar" = ps: with ps; [ ];
|
||||||
"weather.darksky" = ps: with ps; [ ];
|
"weather.darksky" = ps: with ps; [ python-forecastio ];
|
||||||
"weather.demo" = ps: with ps; [ ];
|
"weather.demo" = ps: with ps; [ ];
|
||||||
"weather.ecobee" = ps: with ps; [ ];
|
"weather.ecobee" = ps: with ps; [ ];
|
||||||
"weather.ipma" = ps: with ps; [ ];
|
"weather.ipma" = ps: with ps; [ ];
|
||||||
|
@ -2615,6 +2615,8 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
python-forecastio = callPackage ../development/python-modules/python-forecastio { };
|
||||||
|
|
||||||
fpdf = callPackage ../development/python-modules/fpdf { };
|
fpdf = callPackage ../development/python-modules/fpdf { };
|
||||||
|
|
||||||
fpylll = callPackage ../development/python-modules/fpylll { };
|
fpylll = callPackage ../development/python-modules/fpylll { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user