Accepting request 1233617 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1233617
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-data-fix?expand=0&rev=14
This commit is contained in:
Ana Guerrero 2024-12-29 10:56:30 +00:00 committed by Git OBS Bridge
commit f9b2439b80
3 changed files with 64 additions and 0 deletions

56
data-fix.cabal Normal file
View File

@ -0,0 +1,56 @@
cabal-version: 2.2
Name: data-fix
Version: 0.3.4
x-revision: 1
License: BSD-3-Clause
License-file: LICENSE
Author: Anton Kholomiov, Edward Kmett, Oleg Grenrus
Maintainer: <anton.kholomiov@gmail.com>
Category: Data
Synopsis: Fixpoint data types
Build-Type: Simple
Description:
Fixpoint types and recursion schemes. If you define your AST as
fixpoint type, you get fold and unfold operations for free.
.
Thanks for contribution to: Matej Kollar, Herbert Valerio Riedel
Stability: Experimental
Homepage: https://github.com/spell-music/data-fix
Bug-Reports: https://github.com/spell-music/data-fix/issues
Tested-With:
GHC ==8.6.5
|| ==8.8.4
|| ==8.10.7
|| ==9.0.2
|| ==9.2.8
|| ==9.4.8
|| ==9.6.6
|| ==9.8.4
|| ==9.10.1
|| ==9.12.1
extra-source-files:
CHANGELOG.md
Source-repository head
Type: git
Location: https://github.com/spell-music/data-fix
library
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
exposed-modules: Data.Fix
ghc-options: -Wno-trustworthy-safe
ghc-options:
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities -Wmissing-export-lists
build-depends:
, base >=4.12.0.0 && <4.22
, deepseq >=1.4.4.0 && <1.6
, hashable >=1.4.4.0 && <1.6

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Dec 20 15:43:08 UTC 2024 - Peter Simons <psimons@suse.com>
- Update data-fix to version 0.3.4 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 4 20:04:07 UTC 2024 - Peter Simons <psimons@suse.com> Thu Jul 4 20:04:07 UTC 2024 - Peter Simons <psimons@suse.com>

View File

@ -25,6 +25,7 @@ Summary: Fixpoint data types
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
@ -69,6 +70,7 @@ 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