Skip to content

Update for Stack LTS 21.9 and Aeson 2.x #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions json-alt/json-alt.cabal
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.34.4.
-- This file has been generated from package.yaml by hpack version 0.35.2.
--
-- see: https://github.com/sol/hpack
--

name: json-alt
version: 1.0.1
version: 1.0.0
synopsis: Union 'alternative' or Either that has untagged JSON encoding.
description: Parsing JSON with Aeson often requires decoding fields
that have more than one Haskell type.
Expand Down Expand Up @@ -64,6 +63,6 @@ library
DeriveGeneric
RecordWildCards
build-depends:
aeson >=1.2.1 && <1.6
, base >=4.3 && <5
aeson
, base >=4.0.0 && <=5.0
default-language: Haskell2010
4 changes: 2 additions & 2 deletions json-alt/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ other-extensions:
- DeriveGeneric
- RecordWildCards
dependencies:
- base >=4.3 && <5
- aeson >=1.2.1 && <1.6
- base >= 4.0.0 && <= 5.0
- aeson
library:
exposed-modules:
- Data.Aeson.AutoType.Alternative
Expand Down
1 change: 1 addition & 0 deletions json-autotype/app/GenerateJSONParser.hs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import Data.Aeson.AutoType.Format
import Data.Aeson.AutoType.Split
import Data.Aeson.AutoType.Type
import Data.Aeson.AutoType.Util
import Data.Aeson.AutoType.Pretty
import qualified Data.Yaml as Yaml

import Options.Applicative
Expand Down
192 changes: 96 additions & 96 deletions json-autotype/json-autotype.cabal
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.34.4.
-- This file has been generated from package.yaml by hpack version 0.35.2.
--
-- see: https://github.com/sol/hpack

name: json-autotype
version: 3.1.3
version: 3.1.2
synopsis: Automatic type declaration for JSON input data
description: Generates datatype declarations with Aeson''s ''Data.Aeson.FromJSON''
.
Expand Down Expand Up @@ -87,12 +87,12 @@ library
Data.Aeson.AutoType.CodeGen.Generic
Data.Aeson.AutoType.CodeGen.Elm
Data.Aeson.AutoType.CodeGen.ElmFormat
Data.Aeson.AutoType.Pretty
Data.Aeson.AutoType.Split
Data.Aeson.AutoType.Type
Data.Aeson.AutoType.Test
Data.Aeson.AutoType.Util
Data.Aeson.AutoType.Nested
Data.Aeson.AutoType.Pretty
other-modules:
Data.Aeson.AutoType.CodeGen.Common
Data.Aeson.AutoType.Plugin.Subtype
Expand All @@ -109,27 +109,27 @@ library
DeriveGeneric
RecordWildCards
build-depends:
GenericPretty ==1.2.*
, QuickCheck >=2.4 && <3.0
, aeson >=1.2.1 && <1.6
, base >=4.9 && <5
, containers >=0.3 && <0.7
, data-default ==0.7.*
, filepath >=1.3 && <1.5
, hashable >=1.2 && <1.4
GenericPretty
, QuickCheck
, aeson
, base >=4.0.0 && <5.0
, containers
, data-default
, filepath
, hashable
, json-alt
, lens >=4.1 && <4.20
, mtl >=2.1 && <2.3
, pretty >=1.1 && <1.3
, process >=1.1 && <1.7
, lens
, mtl
, pretty
, process
, run-haskell-module
, scientific >=0.3 && <0.5
, smallcheck >=1.0 && <1.2
, scientific
, smallcheck
, template-haskell
, text >=1.1 && <1.4
, uniplate ==1.6.*
, unordered-containers ==0.2.*
, vector >=0.9 && <0.13
, text
, uniplate
, unordered-containers
, vector
default-language: Haskell2010

executable json-autotype
Expand All @@ -150,27 +150,27 @@ executable json-autotype
DeriveGeneric
RecordWildCards
build-depends:
GenericPretty ==1.2.*
, aeson >=1.2.1 && <1.6
, base >=4.9 && <5
, bytestring >=0.9 && <0.11
, containers >=0.3 && <0.7
, filepath >=1.3 && <1.5
, hashable >=1.2 && <1.4
GenericPretty
, aeson
, base >=4.0.0 && <5.0
, bytestring
, containers
, filepath
, hashable
, json-alt
, json-autotype
, lens >=4.1 && <4.20
, mtl >=2.1 && <2.3
, optparse-applicative >=0.12 && <1.0
, pretty >=1.1 && <1.3
, process >=1.1 && <1.7
, scientific >=0.3 && <0.5
, lens
, mtl
, optparse-applicative
, pretty
, process
, scientific
, template-haskell
, text >=1.1 && <1.4
, uniplate ==1.6.*
, unordered-containers ==0.2.*
, vector >=0.9 && <0.13
, yaml >=0.8 && <0.12
, text
, uniplate
, unordered-containers
, vector
, yaml
default-language: Haskell2010

test-suite json-autotype-examples
Expand All @@ -192,28 +192,28 @@ test-suite json-autotype-examples
DeriveGeneric
RecordWildCards
build-depends:
GenericPretty ==1.2.*
, QuickCheck >=2.4 && <3.0
, aeson >=1.2.1 && <1.6
, base >=4.9 && <5
, containers >=0.3 && <0.7
, directory >=1.1 && <1.4
, filepath >=1.3 && <1.5
, hashable >=1.2 && <1.4
GenericPretty
, QuickCheck
, aeson
, base >=4.0.0 && <5.0
, containers
, directory
, filepath
, hashable
, json-alt
, json-autotype
, lens >=4.1 && <4.20
, mtl >=2.1 && <2.3
, optparse-applicative >=0.11 && <1.0
, pretty >=1.1 && <1.3
, process >=1.1 && <1.7
, scientific >=0.3 && <0.5
, smallcheck >=1.0 && <1.2
, lens
, mtl
, optparse-applicative
, pretty
, process
, scientific
, smallcheck
, template-haskell
, text >=1.1 && <1.4
, uniplate ==1.6.*
, unordered-containers ==0.2.*
, vector >=0.9 && <0.13
, text
, uniplate
, unordered-containers
, vector
default-language: Haskell2010

test-suite json-autotype-gen-test
Expand All @@ -235,29 +235,29 @@ test-suite json-autotype-gen-test
DeriveGeneric
RecordWildCards
build-depends:
GenericPretty ==1.2.*
, QuickCheck >=2.4 && <3.0
, aeson >=1.2.1 && <1.6
, base >=4.9 && <5
, bytestring >=0.9 && <0.11
, containers >=0.3 && <0.7
, directory >=1.1 && <1.4
, filepath >=1.3 && <1.5
, hashable >=1.2 && <1.4
GenericPretty
, QuickCheck
, aeson
, base >=4.0.0 && <5.0
, bytestring
, containers
, directory
, filepath
, hashable
, json-alt
, json-autotype
, lens >=4.1 && <4.20
, mtl >=2.1 && <2.3
, optparse-applicative >=0.12 && <1.0
, pretty >=1.1 && <1.3
, process >=1.1 && <1.7
, scientific >=0.3 && <0.5
, smallcheck >=1.0 && <1.2
, lens
, mtl
, optparse-applicative
, pretty
, process
, scientific
, smallcheck
, template-haskell
, text >=1.1 && <1.4
, uniplate ==1.6.*
, unordered-containers ==0.2.*
, vector >=0.9 && <0.13
, text
, uniplate
, unordered-containers
, vector
default-language: Haskell2010

test-suite json-autotype-qc-test
Expand All @@ -279,25 +279,25 @@ test-suite json-autotype-qc-test
DeriveGeneric
RecordWildCards
build-depends:
GenericPretty ==1.2.*
, QuickCheck >=2.4 && <3.0
, aeson >=1.2.1 && <1.6
, base >=4.9 && <5
, containers >=0.3 && <0.7
, filepath >=1.3 && <1.5
, hashable >=1.2 && <1.4
GenericPretty
, QuickCheck
, aeson
, base >=4.0.0 && <5.0
, containers
, filepath
, hashable
, json-alt
, json-autotype
, lens >=4.1 && <4.20
, mtl >=2.1 && <2.3
, optparse-applicative >=0.12 && <1.0
, pretty >=1.1 && <1.3
, process >=1.1 && <1.7
, scientific >=0.3 && <0.5
, smallcheck >=1.0 && <1.2
, lens
, mtl
, optparse-applicative
, pretty
, process
, scientific
, smallcheck
, template-haskell
, text >=1.1 && <1.4
, uniplate ==1.6.*
, unordered-containers ==0.2.*
, vector >=0.9 && <0.13
, text
, uniplate
, unordered-containers
, vector
default-language: Haskell2010
Loading