guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Serial line lock directory


From: Danny Milosavljevic
Subject: Serial line lock directory
Date: Tue, 6 Jun 2017 20:54:29 +0200

Hi,

I'm trying to package minicom and there I get an error message 

  checking for com line lock directory... configure: error: No suitable lock 
directory

... which was checking for a (common) directory to put a file in (as a marker) 
when a serial device is in use (and removing the file to free the serial 
device).  This is supposed to prevent multiple different programs accidentally 
using the same serial line.

Where and how should this be done in Guix?

To reproduce:

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 7ad93653e..fc6e4068c 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -44,6 +44,7 @@
   #:use-module (gnu packages curl)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gd)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages ghostscript)
@@ -812,3 +813,21 @@ the 'showing the effect of'-style of operation.")
 for mathematical functions.  It also provides an machine-independent
 interface to select the best such procedures to use on a given system.")
     (license license:gpl3+)))
+
+(define-public minicom
+  (package
+    (name "minicom")
+    (version "2.7.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://alioth.debian.org/frs/download.php/";
+                           "file/4215/" name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1wa1l36fa4npd21xa9nz60yrqwkk5cq713fa3p5v0zk7g9mq6bsk"))))
+    (build-system gnu-build-system)
+    (home-page "https://alioth.debian.org/projects/minicom/";)
+    (synopsis "Serial terminal emulator")
+    (description "@code{minicom} is a serial terminal emulator.")
+    (license license:gpl2+)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]