Merge pull request #298583 from stv0g/add-lib60870

lib60870: init at 2.3.2
This commit is contained in:
Pol Dellaiera 2024-03-25 11:04:14 +01:00 committed by GitHub
commit 8b52b3765a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 45 additions and 0 deletions

View file

@ -18782,6 +18782,16 @@
githubId = 39732259;
name = "Justus K";
};
stv0g = {
name = "Steffen Vogel";
email = "post@steffenvogel.de";
matrix = "@stv0ge:matrix.org";
github = "stv0g";
githubId = 285829;
keys = [{
fingerprint = "09BE 3BAE 8D55 D4CD 8579 285A 9675 EAC3 4897 E6E2";
}];
};
SubhrajyotiSen = {
email = "subhrajyoti12@gmail.com";
github = "SubhrajyotiSen";

View file

@ -0,0 +1,35 @@
{ cmake
, lib
, stdenv
, fetchFromGitHub
, gitUpdater
}:
stdenv.mkDerivation (finalAttrs: {
pname = "lib60870";
version = "2.3.2";
src = fetchFromGitHub {
owner = "mz-automation";
repo = "lib60870";
rev = "v${finalAttrs.version}";
hash = "sha256-9o+gWQbpCJb+UZzPNmzGqpWD0QbGjg41is/f1POUEQs=";
};
separateDebugInfo = true;
nativeBuildInputs = [ cmake ];
preConfigure = "cd lib60870-C";
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
meta = with lib; {
description = "Implementation of the IEC 60870-5-101/104 protocol";
homepage = "https://libiec61850.com/";
license = licenses.gpl3Only;
maintainers = with maintainers; [ stv0g ];
platforms = [ "x86_64-linux" ];
};
})