mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
pythonPackages.python-forecastio: init at 1.4.0
This commit is contained in:
parent
889bb6873d
commit
ecac42bd87
2 changed files with 33 additions and 0 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -2615,6 +2615,8 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
python-forecastio = callPackage ../development/python-modules/python-forecastio { };
|
||||
|
||||
fpdf = callPackage ../development/python-modules/fpdf { };
|
||||
|
||||
fpylll = callPackage ../development/python-modules/fpylll { };
|
||||
|
|
Loading…
Reference in a new issue