My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/libraries/libplctag/default.nix

27 lines
641 B

{ lib
, stdenv
, cmake
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "libplctag";
version = "2.5.0";
src = fetchFromGitHub {
owner = "libplctag";
repo = "libplctag";
rev = "v${version}";
sha256 = "sha256-Xzdljx08aXwD6pE1f/3YBAjvrSzvs2fcXmmLH04GFyg=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
homepage = "https://github.com/libplctag/libplctag";
description = "Library that uses EtherNet/IP or Modbus TCP to read and write tags in PLCs";
license = with licenses; [ lgpl2Plus mpl20 ];
maintainers = with maintainers; [ petterstorvik ];
platforms = platforms.all;
};
}