depot/third_party/nixpkgs/pkgs/development/python-modules/pynobo/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

28 lines
625 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "pynobo";
version = "1.4.0";
src = fetchFromGitHub {
owner = "echoromeo";
repo = pname;
rev = "v${version}";
sha256 = "sha256-7OWCp09XxCZJMz0BJWKfGkkl8z4XpRS2sjowp/bnl0A=";
};
# 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 ];
};
}