rekahsoft: Update ghc-clay to use the tip of master

This commit is contained in:
Collin J. Doering 2023-03-06 21:32:25 -05:00
parent f45b606e54
commit f5f7b6a635
Signed by: rekahsoft
GPG Key ID: 7B4DEB93212B3022
1 changed files with 26 additions and 19 deletions

View File

@ -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 <http://fvisser.nl/clay>. . 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 <http://fvisser.nl/clay>. .
The API documentation can be found in the top level module \"Clay\".")
(license license:bsd-3))))