mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
python3Packages.opensensemap-api: init at 0.1.5
This commit is contained in:
parent
d4a76b1f5f
commit
8f48d88506
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
|
"opengarage" = ps: with ps; [ ]; # missing inputs: open-garage
|
||||||
"openhardwaremonitor" = ps: with ps; [ ];
|
"openhardwaremonitor" = ps: with ps; [ ];
|
||||||
"openhome" = ps: with ps; [ ]; # missing inputs: openhomedevice
|
"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; [ ];
|
"opensky" = ps: with ps; [ ];
|
||||||
"opentherm_gw" = ps: with ps; [ ]; # missing inputs: pyotgw
|
"opentherm_gw" = ps: with ps; [ ]; # missing inputs: pyotgw
|
||||||
"openuv" = ps: with ps; [ ]; # missing inputs: pyopenuv
|
"openuv" = ps: with ps; [ ]; # missing inputs: pyopenuv
|
||||||
|
@ -4359,6 +4359,8 @@ in {
|
|||||||
|
|
||||||
openrouteservice = callPackage ../development/python-modules/openrouteservice/default.nix { };
|
openrouteservice = callPackage ../development/python-modules/openrouteservice/default.nix { };
|
||||||
|
|
||||||
|
opensensemap-api = callPackage ../development/python-modules/opensensemap-api { };
|
||||||
|
|
||||||
opentimestamps = callPackage ../development/python-modules/opentimestamps { };
|
opentimestamps = callPackage ../development/python-modules/opentimestamps { };
|
||||||
|
|
||||||
opentracing = callPackage ../development/python-modules/opentracing { };
|
opentracing = callPackage ../development/python-modules/opentracing { };
|
||||||
|
Loading…
Reference in New Issue
Block a user