From b487f012dbc19b33d822acd67e43a0295cecec54 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Fri, 22 Sep 2023 14:36:10 -0700 Subject: [PATCH] minicom: 2.8 -> 2.9 --- pkgs/tools/misc/minicom/default.nix | 19 ++++++++++++++----- pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/misc/minicom/default.nix b/pkgs/tools/misc/minicom/default.nix index 4da38a1a0c69..361909ebddf2 100644 --- a/pkgs/tools/misc/minicom/default.nix +++ b/pkgs/tools/misc/minicom/default.nix @@ -1,19 +1,28 @@ -{ lib, stdenv, fetchFromGitLab, autoreconfHook, makeWrapper, pkg-config -, lrzsz, ncurses, libiconv }: +{ lib +, stdenv +, fetchFromGitLab +, autoreconfHook +, makeWrapper +, pkg-config +, lrzsz +, ncurses +, libiconv +, IOKit +}: stdenv.mkDerivation rec { pname = "minicom"; - version = "2.8"; + version = "2.9"; src = fetchFromGitLab { domain = "salsa.debian.org"; owner = "minicom-team"; repo = pname; rev = version; - sha256 = "165zhi88swvkhl3v17223r0f27hb3y0qzrgl51jkk0my2m4xscgg"; + sha256 = "sha256-+fKvHrApDXm94LItXv+xSDIE5zD7rTY5IeNSuzQglpg="; }; - buildInputs = [ ncurses ] ++ lib.optional stdenv.isDarwin libiconv; + buildInputs = [ ncurses ] ++ lib.optionals stdenv.isDarwin [ libiconv IOKit ]; nativeBuildInputs = [ autoreconfHook makeWrapper pkg-config ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a0222babe669..5cbef890c420 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33668,7 +33668,9 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) AppKit IOKit; }; - minicom = callPackage ../tools/misc/minicom { }; + minicom = callPackage ../tools/misc/minicom { + inherit (darwin.apple_sdk.frameworks) IOKit; + }; minigalaxy = callPackage ../applications/misc/minigalaxy { };