blob: 90f0afa5796ce2e9bf53bde2b9389fb6ec0e4413 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ stdenv, fetchurl, pkgconfig, udev }:
stdenv.mkDerivation rec {
name = "libserialport-0.1.1";
src = fetchurl {
url = "https://sigrok.org/download/source/libserialport/${name}.tar.gz";
sha256 = "17ajlwgvyyrap8z7f16zcs59pksvncwbmd3mzf98wj7zqgczjaja";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ udev ];
meta = with stdenv.lib; {
description = "Cross-platform shared library for serial port access";
homepage = https://sigrok.org/;
license = licenses.gpl3Plus;
# macOS, Windows and Android is also supported (according to upstream).
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}
|