about summary refs log tree commit diff
path: root/pkgs/development/python-modules/opcua-widgets/default.nix
blob: 371118f677d03bb2f7b5701ffbb1941364491ff1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
  pkgs,
  buildPythonPackage,
  pythonOlder,
  fetchFromGitHub,
  pyqt5,
  asyncua,
}:

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

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

  disabled = pythonOlder "3.10";

  propagatedBuildInputs = [
    pyqt5
    asyncua
  ];

  pythonImportsCheck = [ "uawidgets" ];

  #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; [ ];
  };
}