python3Packages.asmog: init at 0.0.6

This commit is contained in:
Fabian Affolter 2021-09-28 15:44:05 +02:00
parent 332ad080ea
commit a708db6134
2 changed files with 40 additions and 0 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

@ -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 { };