Use pristine copy of edited Cabal file from upstream.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=22
This commit is contained in:
parent
3a5baf4233
commit
949affac17
380
aeson.cabal
380
aeson.cabal
@ -1,190 +1,190 @@
|
|||||||
name: aeson
|
name: aeson
|
||||||
version: 0.11.2.1
|
version: 0.11.2.1
|
||||||
x-revision: 1
|
x-revision: 1
|
||||||
license: BSD3
|
license: BSD3
|
||||||
license-file: LICENSE
|
license-file: LICENSE
|
||||||
category: Text, Web, JSON
|
category: Text, Web, JSON
|
||||||
copyright: (c) 2011-2016 Bryan O'Sullivan
|
copyright: (c) 2011-2016 Bryan O'Sullivan
|
||||||
(c) 2011 MailRank, Inc.
|
(c) 2011 MailRank, Inc.
|
||||||
author: Bryan O'Sullivan <bos@serpentine.com>
|
author: Bryan O'Sullivan <bos@serpentine.com>
|
||||||
maintainer: Adam Bergmark <adam@bergmark.nl>
|
maintainer: Adam Bergmark <adam@bergmark.nl>
|
||||||
stability: experimental
|
stability: experimental
|
||||||
tested-with: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2
|
tested-with: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2
|
||||||
synopsis: Fast JSON parsing and encoding
|
synopsis: Fast JSON parsing and encoding
|
||||||
cabal-version: >= 1.10
|
cabal-version: >= 1.10
|
||||||
homepage: https://github.com/bos/aeson
|
homepage: https://github.com/bos/aeson
|
||||||
bug-reports: https://github.com/bos/aeson/issues
|
bug-reports: https://github.com/bos/aeson/issues
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
description:
|
description:
|
||||||
A JSON parsing and encoding library optimized for ease of use
|
A JSON parsing and encoding library optimized for ease of use
|
||||||
and high performance.
|
and high performance.
|
||||||
.
|
.
|
||||||
To get started, see the documentation for the @Data.Aeson@ module
|
To get started, see the documentation for the @Data.Aeson@ module
|
||||||
below.
|
below.
|
||||||
.
|
.
|
||||||
Parsing performance on a late 2013 MacBook Pro (2.6GHz Core i7),
|
Parsing performance on a late 2013 MacBook Pro (2.6GHz Core i7),
|
||||||
running 64-bit GHC 7.10.1, for mostly-English tweets from Twitter's
|
running 64-bit GHC 7.10.1, for mostly-English tweets from Twitter's
|
||||||
JSON search API:
|
JSON search API:
|
||||||
.
|
.
|
||||||
* 6.4 KB payloads, English: 7570 msg\/sec (47.6 MB\/sec)
|
* 6.4 KB payloads, English: 7570 msg\/sec (47.6 MB\/sec)
|
||||||
.
|
.
|
||||||
* 14.6 KB payloads, Japanese: 3261 msg\/sec (46.6 MB\/sec)
|
* 14.6 KB payloads, Japanese: 3261 msg\/sec (46.6 MB\/sec)
|
||||||
.
|
.
|
||||||
Encoding performance on the same machine and data:
|
Encoding performance on the same machine and data:
|
||||||
.
|
.
|
||||||
* 6.4 KB payloads, English: 22738 msg\/sec (142.9 MB\/sec)
|
* 6.4 KB payloads, English: 22738 msg\/sec (142.9 MB\/sec)
|
||||||
.
|
.
|
||||||
* 14.6 KB payloads, Japanese: 15911 msg\/sec (227.4 MB\/sec)
|
* 14.6 KB payloads, Japanese: 15911 msg\/sec (227.4 MB\/sec)
|
||||||
.
|
.
|
||||||
(A note on naming: in Greek mythology, Aeson was the father of Jason.)
|
(A note on naming: in Greek mythology, Aeson was the father of Jason.)
|
||||||
|
|
||||||
extra-source-files:
|
extra-source-files:
|
||||||
README.markdown
|
README.markdown
|
||||||
benchmarks/*.cabal
|
benchmarks/*.cabal
|
||||||
benchmarks/*.hs
|
benchmarks/*.hs
|
||||||
benchmarks/*.py
|
benchmarks/*.py
|
||||||
benchmarks/Compare/*.hs
|
benchmarks/Compare/*.hs
|
||||||
benchmarks/Makefile
|
benchmarks/Makefile
|
||||||
benchmarks/Typed/*.hs
|
benchmarks/Typed/*.hs
|
||||||
benchmarks/json-data/*.json
|
benchmarks/json-data/*.json
|
||||||
include/overlapping-compat.h
|
include/overlapping-compat.h
|
||||||
changelog.md
|
changelog.md
|
||||||
examples/*.cabal
|
examples/*.cabal
|
||||||
examples/*.hs
|
examples/*.hs
|
||||||
examples/Twitter/*.hs
|
examples/Twitter/*.hs
|
||||||
include/*.h
|
include/*.h
|
||||||
|
|
||||||
flag developer
|
flag developer
|
||||||
description: operate in developer mode
|
description: operate in developer mode
|
||||||
default: False
|
default: False
|
||||||
manual: True
|
manual: True
|
||||||
|
|
||||||
flag old-locale
|
flag old-locale
|
||||||
description: If false then depend on time >= 1.5.
|
description: If false then depend on time >= 1.5.
|
||||||
.
|
.
|
||||||
If true then depend on time < 1.5 together with old-locale.
|
If true then depend on time < 1.5 together with old-locale.
|
||||||
default: False
|
default: False
|
||||||
|
|
||||||
library
|
library
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
|
||||||
exposed-modules:
|
exposed-modules:
|
||||||
Data.Aeson
|
Data.Aeson
|
||||||
Data.Aeson.Encode
|
Data.Aeson.Encode
|
||||||
Data.Aeson.Internal
|
Data.Aeson.Internal
|
||||||
Data.Aeson.Internal.Time
|
Data.Aeson.Internal.Time
|
||||||
Data.Aeson.Parser
|
Data.Aeson.Parser
|
||||||
Data.Aeson.Types
|
Data.Aeson.Types
|
||||||
Data.Aeson.TH
|
Data.Aeson.TH
|
||||||
|
|
||||||
other-modules:
|
other-modules:
|
||||||
Data.Aeson.Encode.Builder
|
Data.Aeson.Encode.Builder
|
||||||
Data.Aeson.Encode.Functions
|
Data.Aeson.Encode.Functions
|
||||||
Data.Aeson.Functions
|
Data.Aeson.Functions
|
||||||
Data.Aeson.Parser.Internal
|
Data.Aeson.Parser.Internal
|
||||||
Data.Aeson.Parser.Time
|
Data.Aeson.Parser.Time
|
||||||
Data.Aeson.Types.Class
|
Data.Aeson.Types.Class
|
||||||
Data.Aeson.Types.Generic
|
Data.Aeson.Types.Generic
|
||||||
Data.Aeson.Types.Instances
|
Data.Aeson.Types.Instances
|
||||||
Data.Aeson.Types.Internal
|
Data.Aeson.Types.Internal
|
||||||
|
|
||||||
build-depends:
|
build-depends:
|
||||||
attoparsec >= 0.13.0.1,
|
attoparsec >= 0.13.0.1,
|
||||||
base >= 4.5 && < 5,
|
base >= 4.5 && < 5,
|
||||||
bytestring >= 0.10.4.0,
|
bytestring >= 0.10.4.0,
|
||||||
containers,
|
containers,
|
||||||
deepseq,
|
deepseq,
|
||||||
dlist >= 0.2,
|
dlist >= 0.2,
|
||||||
fail == 4.9.*,
|
fail == 4.9.*,
|
||||||
ghc-prim >= 0.2,
|
ghc-prim >= 0.2,
|
||||||
hashable >= 1.1.2.0,
|
hashable >= 1.1.2.0,
|
||||||
mtl,
|
mtl,
|
||||||
scientific >= 0.3.1 && < 0.4,
|
scientific >= 0.3.1 && < 0.4,
|
||||||
syb,
|
syb,
|
||||||
tagged >=0.8.3 && <0.9,
|
tagged >=0.8.3 && <0.9,
|
||||||
template-haskell >= 2.7,
|
template-haskell >= 2.7,
|
||||||
text >= 1.1.1.0,
|
text >= 1.1.1.0,
|
||||||
transformers,
|
transformers,
|
||||||
unordered-containers >= 0.2.5.0,
|
unordered-containers >= 0.2.5.0,
|
||||||
vector >= 0.8
|
vector >= 0.8
|
||||||
|
|
||||||
if !impl(ghc >= 8.0)
|
if !impl(ghc >= 8.0)
|
||||||
-- `Data.Semigroup` is available in base only since GHC 8.0 / base 4.9
|
-- `Data.Semigroup` is available in base only since GHC 8.0 / base 4.9
|
||||||
build-depends: semigroups >= 0.16.1 && < 0.19
|
build-depends: semigroups >= 0.16.1 && < 0.19
|
||||||
|
|
||||||
if !impl(ghc >= 7.10)
|
if !impl(ghc >= 7.10)
|
||||||
-- `Numeric.Natural` is available in base only since GHC 7.10 / base 4.8
|
-- `Numeric.Natural` is available in base only since GHC 7.10 / base 4.8
|
||||||
build-depends: nats >=1 && <1.2
|
build-depends: nats >=1 && <1.2
|
||||||
|
|
||||||
if flag(old-locale)
|
if flag(old-locale)
|
||||||
build-depends: time < 1.5, old-locale
|
build-depends: time < 1.5, old-locale
|
||||||
else
|
else
|
||||||
build-depends: time >= 1.5
|
build-depends: time >= 1.5
|
||||||
|
|
||||||
if flag(developer)
|
if flag(developer)
|
||||||
ghc-prof-options: -auto-all
|
ghc-prof-options: -auto-all
|
||||||
|
|
||||||
ghc-options: -O2 -Wall
|
ghc-options: -O2 -Wall
|
||||||
|
|
||||||
include-dirs: include
|
include-dirs: include
|
||||||
|
|
||||||
test-suite tests
|
test-suite tests
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
hs-source-dirs: tests
|
hs-source-dirs: tests
|
||||||
main-is: Tests.hs
|
main-is: Tests.hs
|
||||||
other-modules:
|
other-modules:
|
||||||
DataFamilies.Properties
|
DataFamilies.Properties
|
||||||
DataFamilies.Instances
|
DataFamilies.Instances
|
||||||
DataFamilies.Encoders
|
DataFamilies.Encoders
|
||||||
DataFamilies.Types
|
DataFamilies.Types
|
||||||
Encoders
|
Encoders
|
||||||
Functions
|
Functions
|
||||||
Instances
|
Instances
|
||||||
Options
|
Options
|
||||||
Properties
|
Properties
|
||||||
Types
|
Types
|
||||||
UnitTests
|
UnitTests
|
||||||
|
|
||||||
ghc-options: -Wall -threaded -rtsopts
|
ghc-options: -Wall -threaded -rtsopts
|
||||||
|
|
||||||
build-depends:
|
build-depends:
|
||||||
HUnit,
|
HUnit,
|
||||||
QuickCheck >= 2.7 && <2.10,
|
QuickCheck >= 2.7 && <2.10,
|
||||||
aeson,
|
aeson,
|
||||||
attoparsec,
|
attoparsec,
|
||||||
base,
|
base,
|
||||||
base-orphans >=0.5.3 && <0.6,
|
base-orphans >=0.5.3 && <0.6,
|
||||||
bytestring,
|
bytestring,
|
||||||
containers,
|
containers,
|
||||||
ghc-prim >= 0.2,
|
ghc-prim >= 0.2,
|
||||||
hashable >= 1.1.2.0,
|
hashable >= 1.1.2.0,
|
||||||
tagged,
|
tagged,
|
||||||
template-haskell,
|
template-haskell,
|
||||||
test-framework,
|
test-framework,
|
||||||
test-framework-hunit,
|
test-framework-hunit,
|
||||||
test-framework-quickcheck2,
|
test-framework-quickcheck2,
|
||||||
text,
|
text,
|
||||||
time,
|
time,
|
||||||
unordered-containers,
|
unordered-containers,
|
||||||
vector,
|
vector,
|
||||||
quickcheck-instances >=0.3.12
|
quickcheck-instances >=0.3.12
|
||||||
|
|
||||||
if !impl(ghc >= 8.0)
|
if !impl(ghc >= 8.0)
|
||||||
build-depends: semigroups >= 0.16.1 && < 0.19
|
build-depends: semigroups >= 0.16.1 && < 0.19
|
||||||
|
|
||||||
if flag(old-locale)
|
if flag(old-locale)
|
||||||
build-depends: time < 1.5, old-locale
|
build-depends: time < 1.5, old-locale
|
||||||
else
|
else
|
||||||
build-depends: time >= 1.5
|
build-depends: time >= 1.5
|
||||||
|
|
||||||
if !impl(ghc >= 7.10)
|
if !impl(ghc >= 7.10)
|
||||||
build-depends: nats >=1 && <1.2
|
build-depends: nats >=1 && <1.2
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
type: git
|
type: git
|
||||||
location: git://github.com/bos/aeson.git
|
location: git://github.com/bos/aeson.git
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
type: mercurial
|
type: mercurial
|
||||||
location: https://bitbucket.org/bos/aeson
|
location: https://bitbucket.org/bos/aeson
|
||||||
|
Loading…
Reference in New Issue
Block a user