Commit ad8ef7cf authored by 9R's avatar 9R
Browse files

python3Packages.rctclient: init at 0.0.4

parent 908514a0
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  click,
  setuptools,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "rctclient";
  version = "0.0.4";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "svalouch";
    repo = "python-rctclient";
    tag = "v${version}";
    hash = "sha256-QPla5h8wSM9Ynj44Uwc1a2yAnu8TXbyBWzVHQeW6jnI=";
  };

  build-system = [ setuptools ];

  optional-dependencies.cli = [ click ];

  pythonImportsCheck = [ "rctclient" ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = with lib; {
    description = "Python implementation of the RCT Power GmbH Serial Communication Protocol";
    homepage = "https://github.com/svalouch/python-rctclient";
    changelog = "https://github.com/svalouch/python-rctclient/releases/tag/${src.tag}";
    license = with licenses; [ gpl3Only ];
    maintainers = with maintainers; [ _9R ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -14831,6 +14831,8 @@ self: super: with self; {
  rcssmin = callPackage ../development/python-modules/rcssmin { };
  rctclient = callPackage ../development/python-modules/rctclient { };
  rdbtools = callPackage ../development/python-modules/rdbtools { };
  rdflib = callPackage ../development/python-modules/rdflib { };