python3Packages.nettigo-air-monitor: 1.1.1 -> 1.2.0

This commit is contained in:
Fabian Affolter 2021-11-12 22:21:35 +01:00
parent a97f20e5d8
commit 4a8b67a09a

View File

@ -12,14 +12,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "nettigo-air-monitor"; pname = "nettigo-air-monitor";
version = "1.1.1"; version = "1.2.0";
disabled = pythonOlder "3.6"; format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bieniu"; owner = "bieniu";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-OIB1d6XtstUr5P0q/dmyJS7+UbtkFQIiuSnzwcdP1mE="; sha256 = "sha256-KPgBbYGbKpKEPMxywgRvJcSCEYSUQkiPEFqj+bB0g1s=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -41,7 +43,9 @@ buildPythonPackage rec {
--replace "--cov --cov-report term-missing " "" --replace "--cov --cov-report term-missing " ""
''; '';
pythonImportsCheck = [ "nettigo_air_monitor" ]; pythonImportsCheck = [
"nettigo_air_monitor"
];
meta = with lib; { meta = with lib; {
description = "Python module to get air quality data from Nettigo Air Monitor devices"; description = "Python module to get air quality data from Nettigo Air Monitor devices";