mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 14:11:21 +00:00
Merge pull request #298583 from stv0g/add-lib60870
lib60870: init at 2.3.2
This commit is contained in:
commit
8b52b3765a
@ -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";
|
||||
|
35
pkgs/by-name/li/lib60870/package.nix
Normal file
35
pkgs/by-name/li/lib60870/package.nix
Normal 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" ];
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user