nixpkgs/pkgs/development/libraries/libserialport/default.nix
davidak 3270aa896b replace "Mac OS X" and "OS X" with "macOS"
as it is the official name since 2016

https://en.wikipedia.org/wiki/Macintosh_operating_systems#Desktop

exception are parts refering to older versions of macOS like

"GUI support for Mac OS X 10.6 - 10.12. Note that Emacs 23 and later [...]"
2017-08-07 21:41:30 +02:00

22 lines
636 B
Nix

{ stdenv, fetchurl, pkgconfig, udev }:
stdenv.mkDerivation rec {
name = "libserialport-0.1.1";
src = fetchurl {
url = "http://sigrok.org/download/source/libserialport/${name}.tar.gz";
sha256 = "17ajlwgvyyrap8z7f16zcs59pksvncwbmd3mzf98wj7zqgczjaja";
};
buildInputs = [ pkgconfig udev ];
meta = with stdenv.lib; {
description = "Cross-platform shared library for serial port access";
homepage = http://sigrok.org/;
license = licenses.gpl3Plus;
# macOS, Windows and Android is also supported (according to upstream).
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}