@@ -16252,3 +16252,26 @@ (define-public ghc-algebraic-graphs
"Library for algebraic construction and manipulation of graphs in
Haskell.")
(license license:expat)))
+
+(define-public ghc-record-hasfield
+ (package
+ (name "ghc-record-hasfield")
+ (version "1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/record-hasfield/record-hasfield-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32 "1jlyhj4nlj4hrypdcv7393nccjmfjnh1311incgqhm5wzigjygaj"))))
+ (build-system haskell-build-system)
+ (outputs '("out" "static"))
+ (home-page "https://github.com/ndmitchell/record-hasfield")
+ (synopsis "Implementation of @code{GHC.Records}")
+ (description
+ "This package provides a version of @code{GHC.Records} as it will be
+after the implementation of GHC proposal #42, plus some helper functions over
+it.")
+ (license license:bsd-3)))