Subject: bug#49939: closed (Re: [bug#49939] [PATCH 2/2] gnu: elm-compiler: Update to 0.19.1.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 02 Sep 2023 05:56:02 +0000

Your bug report

#49939: [PATCH 1/2] gnu: Add ghc-filelock.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
49939: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=49939
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#49939] [PATCH 2/2] gnu: elm-compiler: Update to 0.19.1.
From: Vagrant Cascadian <[email-masked]>
To: Matthew James Kraai <[email-masked]>, [email-masked]
Date: Fri, 01 Sep 2023 22:55:35 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

On 2021-08-07, Matthew James Kraai wrote:
> * gnu/packages/haskell-xyz.scm (ghc-filelock): New variable.
...
> +(define-public ghc-filelock
> +  (package
> +    (name "ghc-filelock")
> +    (version "0.1.1.4")

The git logs are not exactly clear, but this appears to have been
added or updated to 0.1.1.5 in commit b97f549b144.

> * gnu/packages/elm.scm (elm-compiler): Update to 0.19.1.
...
>  (define-public elm-compiler
>    (package
>      (name "elm-compiler")
> -    (version "0.19.0")
> +    (version "0.19.1")

And this was updated in:

4e99510deadff2fe1f0e8ee5e030e0ff28d569f0 gnu: elm-compiler: Update to 0.19.1.

Marking as done.

live well,
  vagrant

Subject: [PATCH 1/2] gnu: Add ghc-filelock.
From: Matthew James Kraai <[email-masked]>
To: [email-masked]
Cc: Matthew James Kraai <[email-masked]>
Date: Sat, 7 Aug 2021 21:32:47 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/haskell-xyz.scm (ghc-filelock): New variable.
---
 gnu/packages/haskell-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index bb59476795..4393b77348 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -28,6 +28,7 @@
 ;;; Copyright © 2020 Alexandru-Sergiu Marton <[email-masked]>
 ;;; Copyright © 2020 Carlo Holl <[email-masked]>
 ;;; Copyright © 2020 Christopher Lemmer Webber <[email-masked]>
+;;; Copyright © 2021 Matthew James Kraai <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4478,6 +4479,31 @@ the files in a directory, and turn them into @code{(path, bytestring)} pairs
 embedded in your Haskell code.")
     (license license:bsd-3)))
 
+(define-public ghc-filelock
+  (package
+    (name "ghc-filelock")
+    (version "0.1.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/filelock/filelock-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "189n4pvq7f4d235smg2iqs2m5rqmnjdxflifq0mnb2qdbc4jjznr"))))
+    (build-system haskell-build-system)
+    (native-inputs `(("ghc-async" ,ghc-async)))
+    (home-page
+     "http://github.com/takano-akio/filelock")
+    (synopsis
+     "Portable interface to file locking (flock / LockFileEx)")
+    (description
+     "This package provides a Haskell interface to Windows and Unix file
+locking functionalities.")
+    (license license:public-domain)))
+
 (define-public ghc-filemanip
   (package
     (name "ghc-filemanip")
-- 
2.32.0