diff options
Diffstat (limited to 'pkgs/by-name/li/libiec61850/package.nix')
-rw-r--r-- | pkgs/by-name/li/libiec61850/package.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/by-name/li/libiec61850/package.nix b/pkgs/by-name/li/libiec61850/package.nix new file mode 100644 index 0000000000000..890f9f746914b --- /dev/null +++ b/pkgs/by-name/li/libiec61850/package.nix @@ -0,0 +1,33 @@ +{ cmake +, lib +, stdenv +, fetchFromGitHub +, gitUpdater +}: +stdenv.mkDerivation (finalAttrs: { + pname = "libiec61850"; + version = "1.5.3"; + + src = fetchFromGitHub { + owner = "mz-automation"; + repo = "libiec61850"; + rev = "v${finalAttrs.version}"; + hash = "sha256-SwJjjSapNaVOH5g46MiS9BkzI0fKm/P1xYug3OX5XbA="; + }; + + separateDebugInfo = true; + + nativeBuildInputs = [ cmake ]; + + passthru.updateScript = gitUpdater { + rev-prefix = "v"; + }; + + meta = with lib; { + description = "Open-source library for the IEC 61850 protocols"; + homepage = "https://libiec61850.com/"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ stv0g ]; + platforms = [ "x86_64-linux" ]; + }; +}) |