1{ pkgs
2, buildPythonPackage
3, pythonOlder
4, fetchFromGitHub
5, pyqt5
6, asyncua
7}:
8
9buildPythonPackage rec {
10 pname = "opcua-widgets";
11 version = "0.6.1";
12
13 src = fetchFromGitHub {
14 owner = "FreeOpcUa";
15 repo = pname;
16 rev = version;
17 hash = "sha256-ABJlKYN5H/1k8ynvSTSoJBX12vTTyavuNUAmTJ84mn0=";
18 };
19
20 disabled = pythonOlder "3.10";
21
22 propagatedBuildInputs = [
23 pyqt5
24 asyncua
25 ];
26
27 pythonImportsCheck = [ "uawidgets" ];
28
29 #This test is broken, when updating this package check if the test was fixed.
30 doCheck = false;
31
32 meta = with pkgs.lib; {
33 description = "Common widgets for opcua-modeler og opcua-client-gui";
34 homepage = "https://github.com/FreeOpcUa/opcua-widgets";
35 license = licenses.gpl3Only;
36 maintainers = with maintainers; [ janik ];
37 };
38}