depot/third_party/nixpkgs/pkgs/by-name/li/libiec61850/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
713 B
Nix

{
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 = platforms.unix;
};
})