Commit ca4e408a authored by Janik H's avatar Janik H
Browse files

python3Packages.opcua-widgets: init at 0.6.1

parent 0cb86799
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{ pkgs
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, pyqt5
, asyncua
}:

buildPythonPackage rec {
  pname = "opcua-widgets";
  version = "0.6.1";

  src = fetchFromGitHub {
    owner = "FreeOpcUa";
    repo = pname;
    rev = version;
    hash = "sha256-ABJlKYN5H/1k8ynvSTSoJBX12vTTyavuNUAmTJ84mn0=";
  };

  disabled = pythonOlder "3.10";

  propagatedBuildInputs = [
    pyqt5
    asyncua
  ];

  pythonImportChecks = [ "opcua-widgets" ];

  #This test is broken, when updating this package check if the test was fixed.
  doCheck = false;

  meta = with pkgs.lib; {
    description = "Common widgets for opcua-modeler og opcua-client-gui";
    homepage = "https://github.com/FreeOpcUa/opcua-widgets";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ janik ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -6954,6 +6954,8 @@ self: super: with self; {

  oocsi = callPackage ../development/python-modules/oocsi { };

  opcua-widgets = callPackage ../development/python-modules/opcua-widgets { };

  open-garage = callPackage ../development/python-modules/open-garage { };

  open-meteo = callPackage ../development/python-modules/open-meteo { };