summary refs log tree commit diff
path: root/pkgs/tools/misc/minicom
diff options
context:
space:
mode:
authorMichael Hoang <enzime@users.noreply.github.com>2018-07-24 17:25:28 +1000
committerMichael Hoang <enzime@users.noreply.github.com>2018-07-24 17:25:28 +1000
commit4fac5ea60ce60d16d20539e117e4ccedc75c4998 (patch)
tree9894d441e5e9305644c128db536cb0b5d34339be /pkgs/tools/misc/minicom
parentcbbabf7c0875953049639ddc58c57aab878153d5 (diff)
downloadnixpkgs-4fac5ea60ce60d16d20539e117e4ccedc75c4998.tar
nixpkgs-4fac5ea60ce60d16d20539e117e4ccedc75c4998.tar.gz
nixpkgs-4fac5ea60ce60d16d20539e117e4ccedc75c4998.tar.bz2
nixpkgs-4fac5ea60ce60d16d20539e117e4ccedc75c4998.tar.lz
nixpkgs-4fac5ea60ce60d16d20539e117e4ccedc75c4998.tar.xz
nixpkgs-4fac5ea60ce60d16d20539e117e4ccedc75c4998.tar.zst
nixpkgs-4fac5ea60ce60d16d20539e117e4ccedc75c4998.zip
minicom: Add macOS support
Diffstat (limited to 'pkgs/tools/misc/minicom')
-rw-r--r--pkgs/tools/misc/minicom/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/misc/minicom/default.nix b/pkgs/tools/misc/minicom/default.nix
index 5796f6335c0..326a3b053ed 100644
--- a/pkgs/tools/misc/minicom/default.nix
+++ b/pkgs/tools/misc/minicom/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchurl, autoreconfHook, pkgconfig
-, ncurses }:
+, ncurses, libiconv }:
 
 stdenv.mkDerivation rec {
   name = "minicom-2.7.1";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
     sha256 = "1wa1l36fa4npd21xa9nz60yrqwkk5cq713fa3p5v0zk7g9mq6bsk";
   };
 
-  buildInputs = [ ncurses ];
+  buildInputs = [ ncurses ] ++ stdenv.lib.optional stdenv.isDarwin libiconv;
 
   nativeBuildInputs = [ autoreconfHook pkgconfig ];
 
@@ -41,6 +41,6 @@ stdenv.mkDerivation rec {
       download.
     '';
     maintainers = with maintainers; [ peterhoeg ];
-    platforms = platforms.linux;
+    platforms = platforms.linux ++ platforms.darwin;
   };
 }