nixpkgs/pkgs/development/libraries/libserialport/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

23 lines
663 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";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ 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 ];
};
}