2023-08-31 11:25:01 +02:00
|
|
|
# SPDX-FileCopyrightText: 2023 OPAL-RT Germany GmbH
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2023-02-20 13:18:31 +01:00
|
|
|
{
|
|
|
|
cmake,
|
|
|
|
lib,
|
|
|
|
stdenv,
|
2023-05-26 03:16:58 +02:00
|
|
|
src,
|
2023-02-20 13:18:31 +01:00
|
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "lib60870";
|
|
|
|
version = "villas";
|
|
|
|
src = src;
|
2023-06-19 17:55:04 +02:00
|
|
|
separateDebugInfo = true;
|
2023-02-20 13:18:31 +01:00
|
|
|
nativeBuildInputs = [cmake];
|
|
|
|
preConfigure = "cd lib60870-C";
|
|
|
|
meta = with lib; {
|
|
|
|
description = "implementation of the IEC 60870-5-101/104 protocol";
|
|
|
|
homepage = "https://libiec61850.com/";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|