3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libserialport/default.nix

23 lines
665 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, udev }:
stdenv.mkDerivation rec {
2016-05-11 20:16:26 +01:00
name = "libserialport-0.1.1";
src = fetchurl {
url = "https://sigrok.org/download/source/libserialport/${name}.tar.gz";
2016-05-11 20:16:26 +01:00
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 ];
};
}