python310Packages.pynobo: disable on older Python relleases
This commit is contained in:
parent
91290ad711
commit
897b8fa5fb
@ -1,26 +1,32 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pynobo";
|
||||
version = "1.5.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "echoromeo";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-msJClYHljib8sATooI8q4irz6cC8hEgvcxLmmgatvwU=";
|
||||
hash = "sha256-msJClYHljib8sATooI8q4irz6cC8hEgvcxLmmgatvwU=";
|
||||
};
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pynobo" ];
|
||||
pythonImportsCheck = [
|
||||
"pynobo"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python 3 TCP/IP interface for Nobo Hub/Nobo Energy Control devices";
|
||||
description = "Python TCP/IP interface for Nobo Hub/Nobo Energy Control devices";
|
||||
homepage = "https://github.com/echoromeo/pynobo";
|
||||
license = with licenses; [ gpl3Plus ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
|
Loading…
Reference in New Issue
Block a user