From ddd06ba35dcf93e51261f8fb4c7716c611b0a9ee Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 4 Jul 2021 13:54:16 +0200 Subject: [PATCH] gnu: Add ghc-data-clist. * gnu/packages/haskell-xyz.scm (ghc-data-clist): New public variable. --- 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 f1d2b3b94d..5a18a82f99 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -2906,6 +2906,32 @@ (define-public ghc-data-accessor-transformers Accessor to access state in transformers State monad.") (license license:bsd-3))) +(define-public ghc-data-clist + (package + (name "ghc-data-clist") + (version "0.1.2.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/data-clist/" + "data-clist-" version ".tar.gz")) + (sha256 + (base32 "1mwfhnmvi3vicyjzl33m6pcipi2v887zazyqxygq258ndd010s9m")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck))) + (arguments + `(#:cabal-revision + ("1" "13hg7a3d4ky8b765dl03ryxg28lq8iaqj5ky3j51r0i1i4f2a9hy"))) + (home-page "https://github.com/sw17ch/data-clist") + (synopsis "Simple, functional, bidirectional circular list type") + (description + "This Haskell library provides a simple purely functional circular list, +or ring, data type: a circular data structure such that if you continue rotating +the ring in either direction, you'll eventually return to the element you first +observed.") + (license license:bsd-3))) + (define-public ghc-data-default (package (name "ghc-data-default")