mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
opcua-client-gui: init at 0.8.4
This commit is contained in:
parent
ca4e408aad
commit
3ab939dd0f
2 changed files with 52 additions and 0 deletions
50
pkgs/misc/opcua-client-gui/default.nix
Normal file
50
pkgs/misc/opcua-client-gui/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -32661,6 +32661,8 @@ with pkgs;
|
|||
|
||||
opcr-policy = callPackage ../development/tools/opcr-policy { };
|
||||
|
||||
opcua-client-gui = callPackage ../misc/opcua-client-gui { };
|
||||
|
||||
open-policy-agent = callPackage ../development/tools/open-policy-agent {
|
||||
buildGoModule = buildGo119Module; # go 1.20 build failure
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue