Import code

This commit is contained in:
2023-08-16 08:42:22 +03:00
parent e68ca13c9c
commit 60d331434c
10 changed files with 471 additions and 0 deletions

31
etherlab.nix Normal file
View File

@@ -0,0 +1,31 @@
{
pkgs,
lib,
stdenv,
pdserv ? pkgs.callPackage ./pdserv.nix {},
}:
with pkgs;
let
version="2.3.4";
rev = "aa5d574b096db1ea91479e4fb3c1aa63abedf4d0";
in
stdenv.mkDerivation {
name = "etherlab";
inherit version;
src = fetchGit {
url = "https://gitlab.com/etherlab.org/etherlab.git";
ref = "refs/tags/${version}";
inherit rev;
};
enableParallelBuilding = true;
nativeBuildInputs = [ bash cmake pkg-config ];
buildInputs = [ pdserv ];
meta = with lib; {
description = "Generation of realtime applications via a C-Interface or via MATLAB/Simulink with Real-Time Workshop.";
platforms = platforms.linux;
};
}