mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
open62541pp: init at 0.15.0 (#354879)
This commit is contained in:
commit
16dc5bb9b7
40
pkgs/by-name/op/open62541pp/package.nix
Normal file
40
pkgs/by-name/op/open62541pp/package.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
open62541,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "open62541pp";
|
||||
version = "0.15.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open62541pp";
|
||||
repo = "open62541pp";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-6HQ8j23+xqJCOwCRK1GgNAoz/wXUBqdulfeQFFXSjEo=";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "UAPP_INTERNAL_OPEN62541" false)
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
open62541
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "C++ wrapper of the open62541 OPC UA library";
|
||||
homepage = "https://open62541pp.github.io/open62541pp";
|
||||
changelog = "https://github.com/open62541pp/open62541pp/releases/tag/${finalAttrs.src.rev}";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ sikmir ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user