2014-05-31 14:38:56 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, udev }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-05-11 21:16:26 +02:00
|
|
|
name = "libserialport-0.1.1";
|
2014-05-31 14:38:56 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://sigrok.org/download/source/libserialport/${name}.tar.gz";
|
2016-05-11 21:16:26 +02:00
|
|
|
sha256 = "17ajlwgvyyrap8z7f16zcs59pksvncwbmd3mzf98wj7zqgczjaja";
|
2014-05-31 14:38:56 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|