32 lines
657 B
Nix
32 lines
657 B
Nix
{
|
|
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;
|
|
};
|
|
}
|