diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-06-14 21:45:43 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-06-14 21:50:57 +0200 |
commit | cb64b3d758413ae1bc817b52b655f164b01f7a68 (patch) | |
tree | a5581ffe2e15a9014b386268091bf869f481e833 /pkgs/development | |
parent | 564c4515b10e995e4ad8f37a17598af73f3e3de4 (diff) |
libmodbus: new package
libmodbus is a library to send/receive data according to the Modbus protocol. http://libmodbus.org/
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/libmodbus/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libmodbus/default.nix b/pkgs/development/libraries/libmodbus/default.nix new file mode 100644 index 0000000000000..f6a816ef96f6b --- /dev/null +++ b/pkgs/development/libraries/libmodbus/default.nix @@ -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 ]; + }; +} |