python3Packages.opensensemap-api: init at 0.1.5
This commit is contained in:
37
pkgs/development/python-modules/opensensemap-api/default.nix
Normal file
37
pkgs/development/python-modules/opensensemap-api/default.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, aiohttp
|
||||
, async-timeout
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opensensemap-api";
|
||||
version = "0.1.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1f3iqwl8ynvrkdd961v2hjsbldwbr217pv5pay2m5f0m974bhblx";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
async-timeout
|
||||
];
|
||||
|
||||
# no tests are present
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "opensensemap_api" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "OpenSenseMap API Python client";
|
||||
longDescription = ''
|
||||
Python Client for interacting with the openSenseMap API. All
|
||||
available information from the sensor can be retrieved.
|
||||
'';
|
||||
homepage = "https://github.com/home-assistant-ecosystem/python-opensensemap-api";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user