Merge pull request #301619 from stv0g/update-lib60870

Update lib60870
This commit is contained in:
Weijia Wang 2024-04-05 08:43:07 +02:00 committed by GitHub
commit c1265273c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,9 +1,11 @@
{ cmake {
, lib cmake,
, stdenv lib,
, fetchFromGitHub stdenv,
, gitUpdater fetchFromGitHub,
gitUpdater,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "lib60870"; pname = "lib60870";
version = "2.3.2"; version = "2.3.2";
@ -21,15 +23,13 @@ stdenv.mkDerivation (finalAttrs: {
preConfigure = "cd lib60870-C"; preConfigure = "cd lib60870-C";
passthru.updateScript = gitUpdater { passthru.updateScript = gitUpdater { rev-prefix = "v"; };
rev-prefix = "v";
};
meta = with lib; { meta = with lib; {
description = "Implementation of the IEC 60870-5-101/104 protocol"; description = "Implementation of the IEC 60870-5-101/104 protocol";
homepage = "https://libiec61850.com/"; homepage = "https://libiec61850.com/";
license = licenses.gpl3Only; license = licenses.gpl3Only;
maintainers = with maintainers; [ stv0g ]; maintainers = with maintainers; [ stv0g ];
platforms = [ "x86_64-linux" ]; platforms = platforms.linux;
}; };
}) })