libserialport: new package
libserialport is a cross-platform shared library for serial port access, written in C. It comes from the sigrok project, but has no dependency on sigrok code. Homepage: http://sigrok.org/
This commit is contained in:
parent
215ce62596
commit
b6910c6bf8
21
pkgs/development/libraries/libserialport/default.nix
Normal file
21
pkgs/development/libraries/libserialport/default.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ stdenv, fetchurl, pkgconfig, udev }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "libserialport-0.1.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://sigrok.org/download/source/libserialport/${name}.tar.gz";
|
||||||
|
sha256 = "1bqrldwrcsv6jbq3pmqczq27gdkrzpaxwplanqs25f6q9gb5p47c";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pkgconfig udev ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Cross-platform shared library for serial port access";
|
||||||
|
homepage = http://sigrok.org/;
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
# Mac OS X, Windows and Android is also supported (according to upstream).
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = [ maintainers.bjornfor ];
|
||||||
|
};
|
||||||
|
}
|
@ -5044,6 +5044,8 @@ let
|
|||||||
|
|
||||||
libsecret = callPackage ../development/libraries/libsecret { };
|
libsecret = callPackage ../development/libraries/libsecret { };
|
||||||
|
|
||||||
|
libserialport = callPackage ../development/libraries/libserialport { };
|
||||||
|
|
||||||
libgtop = callPackage ../development/libraries/libgtop {};
|
libgtop = callPackage ../development/libraries/libgtop {};
|
||||||
|
|
||||||
liblo = callPackage ../development/libraries/liblo { };
|
liblo = callPackage ../development/libraries/liblo { };
|
||||||
|
Loading…
Reference in New Issue
Block a user