22 lines
567 B
Nix
22 lines
567 B
Nix
{ lib, buildDotnetModule, dotnetCorePackages, sourceRevision ? "" }:
|
|
|
|
buildDotnetModule {
|
|
pname = "seiugw";
|
|
version = "0.1.0";
|
|
|
|
src = lib.cleanSource ../.;
|
|
projectFile = "src/Gateway.Api/Gateway.Api.csproj";
|
|
nugetDeps = ./deps.json;
|
|
|
|
dotnet-sdk = dotnetCorePackages.sdk_8_0;
|
|
dotnet-runtime = dotnetCorePackages.aspnetcore_8_0;
|
|
executables = [ "Gateway.Api" ];
|
|
|
|
passthru = { inherit sourceRevision; };
|
|
|
|
meta = {
|
|
description = "Industrial protocol gateway for BACnet/IP, OPC UA, Modbus TCP and MQTT";
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|