revise .cabal

This commit is contained in:
Jens Petersen 2021-08-06 10:58:26 +08:00
parent 5ac1d64349
commit 174ddee739
1 changed files with 67 additions and 67 deletions

View File

@ -1,67 +1,67 @@
name: deepseq-generics name: deepseq-generics
version: 0.2.0.0 version: 0.2.0.0
x-revision: 5 x-revision: 6
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.* 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: description:
This package provides a "GHC.Generics"-based This package provides a "GHC.Generics"-based
'Control.DeepSeq.Generics.genericRnf' function which can be used 'Control.DeepSeq.Generics.genericRnf' function which can be used
for providing a 'rnf' implementation. See the documentation for for providing a 'rnf' implementation. See the documentation for
the 'genericRnf' function in the "Control.DeepSeq.Generics" module the 'genericRnf' function in the "Control.DeepSeq.Generics" module
to get started. to get started.
. .
The original idea was pioneered in the @generic-deepseq@ package The original idea was pioneered in the @generic-deepseq@ package
(see <http://www.haskell.org/pipermail/haskell-cafe/2012-February/099551.html> (see <http://www.haskell.org/pipermail/haskell-cafe/2012-February/099551.html>
for more information). for more information).
. .
This package differs from the @generic-deepseq@ package by working This package differs from the @generic-deepseq@ package by working
in combination with the existing @deepseq@ package as opposed to in combination with the existing @deepseq@ package as opposed to
defining a conflicting drop-in replacement for @deepseq@'s defining a conflicting drop-in replacement for @deepseq@'s
@Control.DeepSeq@ module. @Control.DeepSeq@ module.
. .
__Note__: The ability to auto-derive via "GHC.Generics" has been __Note__: The ability to auto-derive via "GHC.Generics" has been
merged into @deepseq-1.4.0.0@. This package is now still useful merged into @deepseq-1.4.0.0@. This package is now still useful
for writing code that's also compatible with older @deepseq@ for writing code that's also compatible with older @deepseq@
versions not yet providing "GHC.Generics"-support. versions not yet providing "GHC.Generics"-support.
extra-source-files: changelog.md extra-source-files: changelog.md
source-repository head source-repository head
type: git type: git
location: https://github.com/hvr/deepseq-generics.git location: https://github.com/hvr/deepseq-generics.git
library library
default-language: Haskell2010 default-language: Haskell2010
exposed-modules: Control.DeepSeq.Generics exposed-modules: Control.DeepSeq.Generics
build-depends: base >= 4.5 && < 4.15, ghc-prim >= 0.2 && < 0.7, deepseq >= 1.2.0.1 && < 1.5 build-depends: base >= 4.5 && < 4.16, ghc-prim >= 0.2 && < 0.8, deepseq >= 1.2.0.1 && < 1.5
other-extensions: BangPatterns, FlexibleContexts, TypeOperators other-extensions: BangPatterns, FlexibleContexts, TypeOperators
ghc-options: -Wall ghc-options: -Wall
test-suite deepseq-generics-tests test-suite deepseq-generics-tests
default-language: Haskell2010 default-language: Haskell2010
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
hs-source-dirs: test hs-source-dirs: test
main-is: Suite.hs main-is: Suite.hs
other-extensions: CPP, DeriveDataTypeable, DeriveGeneric, TupleSections other-extensions: CPP, DeriveDataTypeable, DeriveGeneric, TupleSections
ghc-options: -Wall ghc-options: -Wall
build-depends: build-depends:
base, base,
deepseq, deepseq,
deepseq-generics, deepseq-generics,
ghc-prim, ghc-prim,
-- end of packages with inherited version constraints -- end of packages with inherited version constraints
test-framework >= 0.6.1 && < 0.9, test-framework >= 0.6.1 && < 0.9,
test-framework-hunit >= 0.2.2 && < 0.9, test-framework-hunit >= 0.2.2 && < 0.9,
HUnit >= 1.2.5 && < 1.7 HUnit >= 1.2.5 && < 1.7