Merge pull request #139757 from fabaff/asmog

python3Packages.asmog: init at 0.0.6
This commit is contained in:
Fabian Affolter 2021-09-30 21:10:13 +02:00 committed by GitHub
commit ca2ece2bd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 1 deletions

View File

@ -0,0 +1,38 @@
{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "asmog";
version = "0.0.6";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "14b8hdxcks6qyrqpp4mm77fvzznbskqn7fw9qgwgcqx81pg45iwk";
};
propagatedBuildInputs = [
aiohttp
async-timeout
];
# Project doesn't ship the tests
# https://github.com/kstaniek/python-ampio-smog-api/issues/2
doCheck = false;
pythonImportsCheck = [ "asmog" ];
meta = with lib; {
description = "Python module for Ampio Smog Sensors";
homepage = "https://github.com/kstaniek/python-ampio-smog-api";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -33,7 +33,7 @@
"ambiclimate" = ps: with ps; [ aiohttp-cors ambiclimate ];
"ambient_station" = ps: with ps; [ aioambient ];
"amcrest" = ps: with ps; [ amcrest ha-ffmpeg ];
"ampio" = ps: with ps; [ ]; # missing inputs: asmog
"ampio" = ps: with ps; [ asmog ];
"analytics" = ps: with ps; [ aiohttp-cors sqlalchemy ];
"android_ip_webcam" = ps: with ps; [ pydroid-ipcam ];
"androidtv" = ps: with ps; [ adb-shell androidtv pure-python-adb ];

View File

@ -579,6 +579,8 @@ in {
asgiref = callPackage ../development/python-modules/asgiref { };
asmog = callPackage ../development/python-modules/asmog { };
asn1 = callPackage ../development/python-modules/asn1 { };
asn1ate = callPackage ../development/python-modules/asn1ate { };