Skip to content

Commit 55425e1

Browse files
committed
Hackage compatibility.
1 parent 7183677 commit 55425e1

2 files changed

Lines changed: 20 additions & 5 deletions

File tree

LICENSE

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Copyright (c) 2015, Patrick Chilton
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5+
6+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7+
8+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
9+
10+
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
11+
12+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

codec.cabal

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
name: codec
22
version: 0.1
33
license: BSD3
4+
license-file: LICENSE
45
synopsis: First-class record construction and bidirectional serialization
56
description:
6-
= Data.Codec
7-
#data.codec#
8-
.
97
Tired of writing complementary @parseJSON@\/@toJSON@, @peek@\/@poke@ or
108
Binary @get@\/@put@ functions?
119
.
@@ -81,6 +79,11 @@ category: Data
8179
build-type: Simple
8280
-- extra-source-files:
8381
cabal-version: >=1.10
82+
homepage: https://github.com/chpatrick/codec
83+
84+
source-repository head
85+
type: git
86+
location: https://github.com/chpatrick/codec.git
8487

8588
library
8689
exposed-modules: Data.Codec,
@@ -100,7 +103,7 @@ library
100103
FunctionalDependencies,
101104
DeriveFunctor,
102105
ScopedTypeVariables
103-
build-depends: base >=4.6,
106+
build-depends: base >=4.6 && < 4.9,
104107
bytestring >=0.10,
105108
binary >=0.7,
106109
binary-bits >=0.5,
@@ -113,7 +116,7 @@ library
113116
transformers >= 0.4.2.0
114117
-- hs-source-dirs:
115118
default-language: Haskell2010
116-
ghc-options: -Wall -O2 -fno-warn-orphans
119+
ghc-options: -Wall -fno-warn-orphans
117120

118121
test-suite Examples
119122
default-language: Haskell2010

0 commit comments

Comments
 (0)