revise .cabal

This commit is contained in:
Jens Petersen 2022-06-18 00:21:41 +08:00
parent c47b4f2a84
commit 4054c1e305
1 changed files with 83 additions and 67 deletions

View File

@ -1,67 +1,83 @@
name: deepseq-generics name: deepseq-generics
version: 0.2.0.0 version: 0.2.0.0
x-revision: 6 x-revision: 7
synopsis: GHC.Generics-based Control.DeepSeq.rnf implementation synopsis: GHC.Generics-based Control.DeepSeq.rnf implementation
homepage: https://github.com/hvr/deepseq-generics homepage: https://github.com/hvr/deepseq-generics
bug-reports: https://github.com/hvr/deepseq-generics/issues bug-reports: https://github.com/hvr/deepseq-generics/issues
license: BSD3 license: BSD3
license-file: LICENSE license-file: LICENSE
author: Herbert Valerio Riedel author: Herbert Valerio Riedel
maintainer: hvr@gnu.org maintainer: hvr@gnu.org
copyright: 2012, Herbert Valerio Riedel copyright: 2012, Herbert Valerio Riedel
category: Control category: Control
build-type: Simple build-type: Simple
cabal-version: >=1.10 cabal-version: >=1.10
tested-with: GHC==8.8.*, GHC==8.6.*, GHC==8.4.*, GHC==8.2.*, GHC==8.0.*, GHC==7.10.*, GHC==7.8.*, GHC==7.6.*, GHC==7.4.*
description: tested-with:
This package provides a "GHC.Generics"-based GHC == 9.2.*
'Control.DeepSeq.Generics.genericRnf' function which can be used GHC == 9.0.*
for providing a 'rnf' implementation. See the documentation for GHC == 8.10.*
the 'genericRnf' function in the "Control.DeepSeq.Generics" module GHC == 8.8.*
to get started. GHC == 8.6.*
. GHC == 8.4.*
The original idea was pioneered in the @generic-deepseq@ package GHC == 8.2.2
(see <http://www.haskell.org/pipermail/haskell-cafe/2012-February/099551.html> GHC == 8.0.2
for more information). GHC == 7.10.3
. GHC == 7.8.4
This package differs from the @generic-deepseq@ package by working GHC == 7.6.3
in combination with the existing @deepseq@ package as opposed to GHC == 7.4.*
defining a conflicting drop-in replacement for @deepseq@'s
@Control.DeepSeq@ module. description:
. This package provides a "GHC.Generics"-based
__Note__: The ability to auto-derive via "GHC.Generics" has been 'Control.DeepSeq.Generics.genericRnf' function which can be used
merged into @deepseq-1.4.0.0@. This package is now still useful for providing a 'rnf' implementation. See the documentation for
for writing code that's also compatible with older @deepseq@ the 'genericRnf' function in the "Control.DeepSeq.Generics" module
versions not yet providing "GHC.Generics"-support. to get started.
.
extra-source-files: changelog.md The original idea was pioneered in the @generic-deepseq@ package
(see <http://www.haskell.org/pipermail/haskell-cafe/2012-February/099551.html>
source-repository head for more information).
type: git .
location: https://github.com/hvr/deepseq-generics.git This package differs from the @generic-deepseq@ package by working
in combination with the existing @deepseq@ package as opposed to
library defining a conflicting drop-in replacement for @deepseq@'s
default-language: Haskell2010 @Control.DeepSeq@ module.
exposed-modules: Control.DeepSeq.Generics .
build-depends: base >= 4.5 && < 4.16, ghc-prim >= 0.2 && < 0.8, deepseq >= 1.2.0.1 && < 1.5 __Note__: The ability to auto-derive via "GHC.Generics" has been
other-extensions: BangPatterns, FlexibleContexts, TypeOperators merged into @deepseq-1.4.0.0@. This package is now still useful
ghc-options: -Wall for writing code that's also compatible with older @deepseq@
versions not yet providing "GHC.Generics"-support.
test-suite deepseq-generics-tests
default-language: Haskell2010 extra-source-files: changelog.md
type: exitcode-stdio-1.0
hs-source-dirs: test source-repository head
main-is: Suite.hs type: git
other-extensions: CPP, DeriveDataTypeable, DeriveGeneric, TupleSections location: https://github.com/hvr/deepseq-generics.git
ghc-options: -Wall
library
build-depends: default-language: Haskell2010
base, exposed-modules: Control.DeepSeq.Generics
deepseq, build-depends: base >= 4.5 && < 4.17
deepseq-generics, , ghc-prim >= 0.2 && < 0.9
ghc-prim, , deepseq >= 1.2.0.1 && < 1.5
-- end of packages with inherited version constraints other-extensions: BangPatterns, FlexibleContexts, TypeOperators
test-framework >= 0.6.1 && < 0.9, ghc-options: -Wall
test-framework-hunit >= 0.2.2 && < 0.9,
HUnit >= 1.2.5 && < 1.7 test-suite deepseq-generics-tests
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Suite.hs
other-extensions: CPP, DeriveDataTypeable, DeriveGeneric, TupleSections
ghc-options: -Wall
build-depends:
base,
deepseq,
deepseq-generics,
ghc-prim,
-- end of packages with inherited version constraints
test-framework >= 0.6.1 && < 0.9,
test-framework-hunit >= 0.2.2 && < 0.9,
HUnit >= 1.2.5 && < 1.7