pythonPackages.pyowm: init at 2.8.0
This commit is contained in:
19
pkgs/development/python-modules/pyowm/default.nix
Normal file
19
pkgs/development/python-modules/pyowm/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ lib, stdenv, buildPythonPackage, fetchPypi, requests }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyowm";
|
||||
version = "2.8.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0y2r322pcamabar70513pbyiq26x33l1aq9cim6k30lk9p4aq310";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python wrapper around the OpenWeatherMap web API";
|
||||
homepage = https://pyowm.readthedocs.io/;
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user