forked from pool/ghc-lucid
Compare commits
7 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
6b406a18c3 | ||
|
b5d442eb21 | ||
|
8255af4877 | ||
|
37febed08e | ||
|
ea7d6c7f6c | ||
|
3431542caa | ||
|
f466d0417a |
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 3 16:01:00 UTC 2025 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update lucid to version 2.11.20250303.
|
||||||
|
## 2.11.20250303
|
||||||
|
|
||||||
|
* Support GHC 9.12
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 19 08:06:09 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update lucid to version 2.11.20230408 revision 2.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 29 16:08:49 UTC 2023 - Peter Simons <psimons@suse.com>
|
Sun Oct 29 16:08:49 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-lucid
|
# spec file for package ghc-lucid
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,13 +20,12 @@
|
|||||||
%global pkgver %{pkg_name}-%{version}
|
%global pkgver %{pkg_name}-%{version}
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 2.11.20230408
|
Version: 2.11.20250303
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Clear to write, read and edit DSL for HTML
|
Summary: Clear to write, read and edit DSL for HTML
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-base-devel
|
BuildRequires: ghc-base-devel
|
||||||
BuildRequires: ghc-base-prof
|
BuildRequires: ghc-base-prof
|
||||||
@ -100,7 +99,6 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0f112990fee9c5b1c62c64c926147272534781ed8a7225d39dd0248a670f441d
|
|
||||||
size 21451
|
|
3
lucid-2.11.20250303.tar.gz
Normal file
3
lucid-2.11.20250303.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bbe62357e944549ce7f45c8f998e82b4d90c5aff6462446fb01cf32cddb744f4
|
||||||
|
size 21416
|
99
lucid.cabal
99
lucid.cabal
@ -1,99 +0,0 @@
|
|||||||
name: lucid
|
|
||||||
version: 2.11.20230408
|
|
||||||
x-revision: 1
|
|
||||||
synopsis: Clear to write, read and edit DSL for HTML
|
|
||||||
description:
|
|
||||||
Clear to write, read and edit DSL for HTML.
|
|
||||||
.
|
|
||||||
* Names are consistent, and do not conflict with base or are keywords (all have suffix @_@)
|
|
||||||
.
|
|
||||||
* Same combinator can be used for attributes and elements (e.g. 'style_')
|
|
||||||
.
|
|
||||||
* For more, read <https://chrisdone.com/posts/lucid the blog post>
|
|
||||||
.
|
|
||||||
See the "Lucid" module for more documentation.
|
|
||||||
homepage: https://github.com/chrisdone/lucid
|
|
||||||
license: BSD3
|
|
||||||
license-file: LICENSE
|
|
||||||
author: Chris Done
|
|
||||||
maintainer: chrisdone@gmail.com
|
|
||||||
copyright: 2014-2021 Chris Done
|
|
||||||
category: Web
|
|
||||||
build-type: Simple
|
|
||||||
cabal-version: >=1.10
|
|
||||||
extra-source-files: README.md, CHANGELOG.md
|
|
||||||
tested-with: GHC==7.10.3,GHC==8.0.2,GHC==8.2.2,GHC==8.4.4,GHC==8.6.5,GHC==8.8.4,GHC==8.10.7,GHC==9.0.1,GHC==9.2.1, GHC==9.4.1, GHC==9.8
|
|
||||||
|
|
||||||
library
|
|
||||||
default-language: Haskell2010
|
|
||||||
hs-source-dirs: src/
|
|
||||||
ghc-options: -Wall -O2
|
|
||||||
exposed-modules: Lucid
|
|
||||||
Lucid.Base
|
|
||||||
Lucid.Html5
|
|
||||||
Lucid.Bootstrap
|
|
||||||
|
|
||||||
-- GHC boot libraries
|
|
||||||
build-depends: base >=4.8 && <4.20
|
|
||||||
, bytestring >=0.10.6.0
|
|
||||||
, containers >=0.5.6.2
|
|
||||||
, transformers >=0.4.2.0
|
|
||||||
|
|
||||||
-- GHC boot libraries since 8.4.
|
|
||||||
build-depends: mtl >=2.2
|
|
||||||
, text >=1.2.0.2
|
|
||||||
|
|
||||||
-- compat packages
|
|
||||||
if !impl(ghc >= 8.0)
|
|
||||||
build-depends: semigroups >=0.16.1
|
|
||||||
|
|
||||||
-- other dependencies
|
|
||||||
build-depends: blaze-builder >=0.4.0.0
|
|
||||||
, hashable >=1.2.3.2
|
|
||||||
, mmorph >=1.0.3
|
|
||||||
|
|
||||||
source-repository head
|
|
||||||
type: git
|
|
||||||
location: https://github.com/chrisdone/lucid.git
|
|
||||||
|
|
||||||
test-suite test
|
|
||||||
default-language: Haskell2010
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: Main.hs
|
|
||||||
hs-source-dirs: test
|
|
||||||
other-modules: Example1
|
|
||||||
build-depends: base,
|
|
||||||
lucid,
|
|
||||||
HUnit,
|
|
||||||
hspec,
|
|
||||||
parsec,
|
|
||||||
bifunctors,
|
|
||||||
text,
|
|
||||||
mtl
|
|
||||||
|
|
||||||
benchmark bench
|
|
||||||
default-language: Haskell2010
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
hs-source-dirs: benchmarks
|
|
||||||
main-is: Main.hs
|
|
||||||
other-modules: HtmlBenchmarks
|
|
||||||
build-depends: base,
|
|
||||||
deepseq,
|
|
||||||
criterion,
|
|
||||||
blaze-builder,
|
|
||||||
text,
|
|
||||||
bytestring,
|
|
||||||
lucid
|
|
||||||
ghc-options: -O2
|
|
||||||
|
|
||||||
benchmark bench-io
|
|
||||||
default-language: Haskell2010
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
hs-source-dirs: benchmarks
|
|
||||||
main-is: IO.hs
|
|
||||||
build-depends: base,
|
|
||||||
criterion,
|
|
||||||
transformers,
|
|
||||||
text,
|
|
||||||
lucid
|
|
||||||
ghc-options: -O2
|
|
Loading…
x
Reference in New Issue
Block a user