Merge pull request #298584 from stv0g/add-libiec61850

libiec61850: init at 1.5.3
This commit is contained in:
Pol Dellaiera 2024-03-25 11:04:22 +01:00 committed by GitHub
commit e8fb28b6d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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" ];
};
})