1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/packaging/nix/ethercat.nix
Steffen Vogel 0735eb0f89 Make project REUSE compliant
And various other cleanups and harmonizations

Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00

31 lines
629 B
Nix

# SPDX-FileCopyrightText: 2023 OPAL-RT Germany GmbH
# SPDX-License-Identifier: Apache-2.0
{
autoconf,
automake,
cmake,
lib,
libtool,
pkg-config,
stdenv,
src,
}:
stdenv.mkDerivation {
pname = "ethercat";
version = "villas";
src = src;
separateDebugInfo = true;
nativeBuildInputs = [autoconf automake libtool pkg-config];
preConfigure = ''
bash ./bootstrap
'';
configureFlags = [
"--enable-userlib=yes"
"--enable-kernel=no"
];
meta = with lib; {
description = "IgH EtherCAT Master for Linux";
homepage = "https://etherlab.org/master";
license = licenses.gpl2Only;
};
}