From f5f7b6a6350f45030d430cdca70f5a431eb8d098 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Mon, 6 Mar 2023 21:32:25 -0500 Subject: [PATCH] rekahsoft: Update ghc-clay to use the tip of master --- rekahsoft-gnu/packages/haskell-web.scm | 45 +++++++++++++++----------- 1 file changed, 26 insertions(+), 19 deletions(-) diff --git a/rekahsoft-gnu/packages/haskell-web.scm b/rekahsoft-gnu/packages/haskell-web.scm index 30b8cbe..c7fe1e4 100644 --- a/rekahsoft-gnu/packages/haskell-web.scm +++ b/rekahsoft-gnu/packages/haskell-web.scm @@ -101,22 +101,29 @@ (license license:bsd-3))) (define-public ghc-clay - (package - (name "ghc-clay") - (version "0.13.3") - (source (origin - (method url-fetch) - (uri (string-append - "https://hackage.haskell.org/package/clay/clay-" version - ".tar.gz")) - (sha256 - (base32 - "192lsbyj6azjs2ygpx4i47fyr8zfmvwcas8mia07ndqglk2c9csx")))) - (build-system haskell-build-system) - (native-inputs `(("ghc-hspec" ,ghc-hspec) - ("ghc-hspec-discover" ,ghc-hspec-discover))) - (home-page "http://fvisser.nl/clay") - (synopsis "CSS preprocessor as embedded Haskell.") - (description - "Clay is a CSS preprocessor like LESS and Sass, but implemented as an embedded domain specific language (EDSL) in Haskell. This means that all CSS selectors and style rules are first class Haskell functions, which makes reuse and composability easy. . The project is described on . . The API documentation can be found in the top level module \"Clay\".") - (license license:bsd-3))) + ;; Temporarily use tip-of-master as 0.14.0 requires older versions of ghc + (let ((commit "0504045fd7a3e6eb19fec2eac92fb3e81daf84aa") + (revision "1")) + (package + (name "ghc-clay") + (version (git-version "0.14.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sebastiaanvisser/clay") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0f9kl7iqh70nl0lwvpb1mh4r2i1y8x7waaxfqzl7lma84aivkfzd")))) + (build-system haskell-build-system) + (native-inputs (list ghc-hspec ghc-hspec-discover)) + (home-page "http://fvisser.nl/clay") + (synopsis "CSS preprocessor as embedded Haskell.") + (description + "Clay is a CSS preprocessor like LESS and Sass, but implemented as an embedded +domain specific language (EDSL) in Haskell. This means that all CSS selectors +and style rules are first class Haskell functions, which makes reuse and +composability easy. . The project is described on . . +The API documentation can be found in the top level module \"Clay\".") + (license license:bsd-3))))