From 575a077cd5702412da8eac24bc17ec3e52f71e97 Mon Sep 17 00:00:00 2001 From: Danila Kryukov Date: Mon, 1 Mar 2021 12:41:43 +0700 Subject: [PATCH] Add ghc-dec --- gnu/packages/haskell-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 1fa7310fab..bd68683e68 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -28,6 +28,7 @@ ;;; Copyright © 2020 Alexandru-Sergiu Marton ;;; Copyright © 2020 Carlo Holl ;;; Copyright © 2020 Christopher Lemmer Webber +;;; Copyright © 2021 Danila Kryukov ;;; ;;; This file is part of GNU Guix. ;;; @@ -15551,3 +15552,26 @@ Zstandard compression algorithm, a fast lossless compression algorithm targeting real-time compression scenarios at zlib-level and better compression ratios.") (license license:bsd-3))) + +(define-public ghc-dec + (package + (name "ghc-dec") + (version "0.0.3") + (outputs '("out" "static" "doc")) + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/dec/dec-" + version + ".tar.gz")) + (sha256 + (base32 "1y8bvlm2371dq2v0jv1srki98nbhbz091wh0g2x58wz78h971f6r")))) + (build-system haskell-build-system) + (arguments + `(#:cabal-revision + ("2" "1v5f5yby0cld1ziqqgkcx8b50qkpviplspm82a6wl7lw28cjm0hs"))) + (home-page "https://github.com/phadej/vec") + (synopsis "Dec type") + (description "This package provides a Dec type.") + (license license:bsd-3))) -- 2.30.1