diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-05-19 00:02:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-19 00:02:49 +0000 |
commit | 4c15bc450565c01a2260008c57b438017bda83e3 (patch) | |
tree | 39c36428f90e68e22cd72bf5d8bae5870307b0a7 /pkgs/misc | |
parent | 9d87fe8cc96b9a118cbfc0604fb2379a865a3b80 (diff) | |
parent | 769012e1477de3ae9ae96859a1c34c42a0b87189 (diff) |
Merge staging-next into staging
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/opcua-client-gui/default.nix | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/misc/opcua-client-gui/default.nix b/pkgs/misc/opcua-client-gui/default.nix new file mode 100644 index 0000000000000..2c684060758f4 --- /dev/null +++ b/pkgs/misc/opcua-client-gui/default.nix @@ -0,0 +1,50 @@ +{ lib +, python3 +, fetchFromGitHub +, makeDesktopItem +, copyDesktopItems +}: + +python3.pkgs.buildPythonApplication rec { + pname = "opcua-client-gui"; + version = "0.8.4"; + + src = fetchFromGitHub { + owner = "FreeOpcUa"; + repo = pname; + rev = version; + hash = "sha256-0BH1Txr3z4a7iFcsfnovmBUreXMvIX2zpZa8QivQVx8="; + }; + + propagatedBuildInputs = with python3.pkgs; [ + pyqt5 + asyncua + opcua-widgets + numpy + pyqtgraph + ]; + + #This test uses a deprecated libarby, when updating the package check if the test was updated as well + doCheck = false; + + desktopItems = [ + (makeDesktopItem { + name = "opcua-client"; + exec = "opcua-client"; + comment = "OPC UA Client"; + type = "Application"; + #no icon because the app dosn't have one + desktopName = "opcua-client"; + terminal = false; + categories = [ "Utility" ]; + }) + ]; + + meta = with lib; { + description = "OPC UA GUI Client"; + homepage = "https://github.com/FreeOpcUa/opcua-client-gui"; + platforms = platforms.linux; + license = licenses.gpl3Only; + maintainers = with maintainers; [ janik ]; + }; +} |