depot/third_party/nixpkgs/pkgs/by-name/li/libiec61850/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

33 lines
713 B
Nix

{
cmake,
lib,
stdenv,
fetchFromGitHub,
gitUpdater,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libiec61850";
version = "1.6.0";
src = fetchFromGitHub {
owner = "mz-automation";
repo = "libiec61850";
rev = "v${finalAttrs.version}";
hash = "sha256-KFUqeDe90wrqMueD8AYgB1scl6OZkKW2z+oV9wREF3k=";
};
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;
};
})