[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55005] [PATCH 13/13] gnu: Add ghc-mod
From: |
Thomas Albers |
Subject: |
[bug#55005] [PATCH 13/13] gnu: Add ghc-mod |
Date: |
Mon, 18 Apr 2022 20:09:57 +0200 |
---
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 2b8ea5c8e8..9c378f795f 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16396,3 +16396,29 @@ (define-public ghc-deque
"Strict and lazy implementations of Double-Ended Queue based on head-tail
linked list.")
(license license:expat)))
+
+(define-public ghc-mod
+ (package
+ (name "ghc-mod")
+ (version "0.1.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (hackage-uri "mod" version))
+ (sha256
+ (base32 "0m92yd323kjjwnphqlima2aj0hh7i1gnpblc8a29ks25gj0sv66v"))))
+ (build-system haskell-build-system)
+ (outputs '("out" "static"))
+ (inputs (list ghc-semirings ghc-primitive ghc-vector))
+ (native-inputs
+ (list ghc-quickcheck-classes-base
+ ghc-tasty
+ ghc-tasty-quickcheck
+ ghc-quickcheck-classes
+ ghc-quickcheck-classes))
+ (home-page "https://github.com/Bodigrim/mod")
+ (synopsis "Type-safe modular arithmetic")
+ (description
+ "Modular arithmetic, promoting moduli to the type level, with an emphasis
+on performance. Originally part of @code{arithmoi} package.")
+ (license license:expat)))
--
2.35.1
- [bug#55005] [PATCH 00/13] gnu: Add multiple haskell packages, Thomas Albers Raviola, 2022/04/18
- [bug#55005] [PATCH 13/13] gnu: Add ghc-mod,
Thomas Albers <=
- [bug#55005] [PATCH 10/13] gnu: Add ghc-fuzzy, Thomas Albers, 2022/04/18
- [bug#55005] [PATCH 08/13] gnu: Add ghc-record-dot-preprocessor, Thomas Albers, 2022/04/18
- [bug#55005] [PATCH 06/13] gnu: Add ghc-algebraic-graphs, Thomas Albers, 2022/04/18
- [bug#55005] [PATCH 05/13] gnu: Add ghc-optparse-simple, Thomas Albers, 2022/04/18
- [bug#55005] [PATCH 09/13] gnu: Add ghc-monoid-subclasses, Thomas Albers, 2022/04/18
- [bug#55005] [PATCH 12/13] gnu: Add ghc-deque, Thomas Albers, 2022/04/18
- [bug#55005] [PATCH 02/13] gnu: Add ghc-direct-sqlite, Thomas Albers, 2022/04/18