From 6702804a061210ba736a12c431ba231c0a84974e Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 26 Jan 2020 11:12:14 -0800 Subject: gnu: Add ghc-filelock. * gnu/packages/haskell-xyz.scm (ghc-filelock): New variable. --- gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index af940f02fc..73a9eae69b 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -3979,6 +3979,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.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/filelock/filelock-" + version + ".tar.gz")) + (sha256 + (base32 + "04qimhz78jjndk686dblkx06l9jscq2q9gyr014a4pbfj4iljgi5")))) + (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 an interface to Windows and Unix file locking +functionalities.") + (license license:public-domain))) + (define-public ghc-filemanip (package (name "ghc-filemanip") -- cgit v1.2.3