From 23feb6e4fbc42e47d0d36b8f7710366e5cf1e472 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 18 Sep 2016 16:10:18 +0000 Subject: [PATCH] gnu: Add ghc-system-filepath. * gnu/packages/haskell.scm (ghc-system-filepath): New variable. Signed-off-by: Leo Famulari --- gnu/packages/haskell.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index b497380008..35fcf6d847 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -7353,4 +7353,31 @@ (define-public ghc-options easily work with command-line options.") (license license:expat))) +(define-public ghc-system-filepath + (package + (name "ghc-system-filepath") + (version "0.4.13.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/system-filepath/system-filepath-" + version ".tar.gz")) + (sha256 + (base32 + "1yy5zsmmimhg6iaw9fmpwrxvxrgi5s6bfyqfihdsnx4bjvn7sp9l")))) + (build-system haskell-build-system) + (inputs + `(("ghc-text" ,ghc-text) + ("ghc-chell" ,ghc-chell) + ("ghc-chell-quickcheck" ,ghc-chell-quickcheck) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "https://github.com/fpco/haskell-filesystem") + (synopsis "High-level, byte-based file and directory path manipulations") + (description + "Provides a FilePath datatype and utility functions for operating on it. +Unlike the filepath package, this package does not simply reuse String, +increasing type safety.") + (license license:expat))) + ;;; haskell.scm ends here