Merge pull request #145686 from fabaff/bump-nettigo-air-monitor
This commit is contained in:
commit
6579215ea1
1 changed files with 8 additions and 4 deletions
|
@ -12,14 +12,16 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "nettigo-air-monitor";
|
||||
version = "1.1.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
version = "1.2.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bieniu";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-OIB1d6XtstUr5P0q/dmyJS7+UbtkFQIiuSnzwcdP1mE=";
|
||||
sha256 = "sha256-KPgBbYGbKpKEPMxywgRvJcSCEYSUQkiPEFqj+bB0g1s=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -41,7 +43,9 @@ buildPythonPackage rec {
|
|||
--replace "--cov --cov-report term-missing " ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "nettigo_air_monitor" ];
|
||||
pythonImportsCheck = [
|
||||
"nettigo_air_monitor"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to get air quality data from Nettigo Air Monitor devices";
|
||||
|
|
Loading…
Reference in a new issue