mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 20:21:14 +00:00
Merge pull request #108171 from fabaff/opensensemap-api
python3Packages.opensensemap-api: init at 0.1.5
This commit is contained in:
commit
2411148dd0
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 ];
|
||||
};
|
||||
}
|
|
@ -586,7 +586,7 @@
|
|||
"opengarage" = ps: with ps; [ ]; # missing inputs: open-garage
|
||||
"openhardwaremonitor" = ps: with ps; [ ];
|
||||
"openhome" = ps: with ps; [ ]; # missing inputs: openhomedevice
|
||||
"opensensemap" = ps: with ps; [ ]; # missing inputs: opensensemap-api
|
||||
"opensensemap" = ps: with ps; [ opensensemap-api ];
|
||||
"opensky" = ps: with ps; [ ];
|
||||
"opentherm_gw" = ps: with ps; [ ]; # missing inputs: pyotgw
|
||||
"openuv" = ps: with ps; [ ]; # missing inputs: pyopenuv
|
||||
|
|
|
@ -4363,6 +4363,8 @@ in {
|
|||
|
||||
openrouteservice = callPackage ../development/python-modules/openrouteservice/default.nix { };
|
||||
|
||||
opensensemap-api = callPackage ../development/python-modules/opensensemap-api { };
|
||||
|
||||
opentimestamps = callPackage ../development/python-modules/opentimestamps { };
|
||||
|
||||
opentracing = callPackage ../development/python-modules/opentracing { };
|
||||
|
|
Loading…
Reference in a new issue