Import code
This commit is contained in:
31
etherlab.nix
Normal file
31
etherlab.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user