mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-11 07:23:40 +00:00
845a8acbff
Diff: https://github.com/echoromeo/pynobo/compare/refs/tags/v1.6.1...v1.7.0 Changelog: https://github.com/echoromeo/pynobo/releases/tag/v1.7.0
36 lines
789 B
Nix
36 lines
789 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pynobo";
|
|
version = "1.7.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "echoromeo";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-LJS4NJM+f+j53YzH8LradBDzHAsOprd4F7nH1cfC3B0=";
|
|
};
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"pynobo"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python TCP/IP interface for Nobo Hub/Nobo Energy Control devices";
|
|
homepage = "https://github.com/echoromeo/pynobo";
|
|
changelog = "https://github.com/echoromeo/pynobo/releases/tag/v${version}";
|
|
license = with licenses; [ gpl3Plus ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|