mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
libmodbus: new package
libmodbus is a library to send/receive data according to the Modbus protocol. http://libmodbus.org/
This commit is contained in:
parent
564c4515b1
commit
cb64b3d758
18
pkgs/development/libraries/libmodbus/default.nix
Normal file
18
pkgs/development/libraries/libmodbus/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libmodbus-3.0.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://libmodbus.org/releases/${name}.tar.gz";
|
||||
sha256 = "1dkijjv3dq0c5vc5z5f1awm8dlssbwg6ivsnvih22pkm1zqn6v84";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Library to send/receive data according to the Modbus protocol";
|
||||
homepage = http://libmodbus.org/;
|
||||
license = licenses.lgpl21Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
};
|
||||
}
|
|
@ -5144,6 +5144,8 @@ let
|
|||
|
||||
libmhash = callPackage ../development/libraries/libmhash {};
|
||||
|
||||
libmodbus = callPackage ../development/libraries/libmodbus {};
|
||||
|
||||
libmtp = callPackage ../development/libraries/libmtp { };
|
||||
|
||||
libmsgpack = callPackage ../development/libraries/libmsgpack { };
|
||||
|
|
Loading…
Reference in a new issue