diff --git a/data-fix.cabal b/data-fix.cabal new file mode 100644 index 0000000..7b102df --- /dev/null +++ b/data-fix.cabal @@ -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: +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 diff --git a/ghc-data-fix.changes b/ghc-data-fix.changes index 98f29c5..c4108da 100644 --- a/ghc-data-fix.changes +++ b/ghc-data-fix.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Dec 20 15:43:08 UTC 2024 - Peter Simons + +- 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 diff --git a/ghc-data-fix.spec b/ghc-data-fix.spec index 0cef365..0eb0614 100644 --- a/ghc-data-fix.spec +++ b/ghc-data-fix.spec @@ -25,6 +25,7 @@ Summary: Fixpoint data types License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} 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-base-devel BuildRequires: ghc-base-prof @@ -69,6 +70,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep %autosetup -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build