nixpkgs/pkgs/development/python-modules/pynobo/default.nix

29 lines
625 B
Nix
Raw Normal View History

2021-06-09 11:00:13 +02:00
{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "pynobo";
2021-09-30 10:20:06 +02:00
version = "1.3.0";
2021-06-09 11:00:13 +02:00
src = fetchFromGitHub {
owner = "echoromeo";
repo = pname;
rev = "v${version}";
2021-09-30 10:20:06 +02:00
sha256 = "sha256-tcDSI5GODV53o4m35B4CXscVCnwt7gqRu7qohEnvyz8=";
2021-06-09 11:00:13 +02:00
};
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pynobo" ];
meta = with lib; {
description = "Python 3 TCP/IP interface for Nobo Hub/Nobo Energy Control devices";
homepage = "https://github.com/echoromeo/pynobo";
license = with licenses; [ gpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}