1
Fork 0

Converted to new stack format.

Includes an upgrade to a new version number.
master
Joshua Potter 2018-01-14 00:20:32 -08:00
parent b624393ea5
commit bf84d65060
5 changed files with 84 additions and 36 deletions

View File

@ -1,4 +1,4 @@
Copyright Author name here (c) 2017 Copyright Author name here (c) 2018
All rights reserved. All rights reserved.
@ -27,4 +27,4 @@ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

33
package.yaml Normal file
View File

@ -0,0 +1,33 @@
name: postlude
version: 0.1.0.1
github: "jrpotter/postlude"
license: BSD3
author: "Joshua Potter"
maintainer: "jrpotter2112@gmail.com"
copyright: "2018 Joshua Potter"
extra-source-files:
- README.md
# Metadata used when publishing your package
# synopsis: Short description of your package
# category: Web
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: Please see the README on Github at
<https://github.com/jrpotter/postlude#readme>
dependencies:
- base >= 4.7 && < 5
- bytestring >= 0.9 && <= 0.10.8.2
- exceptions >= 0.8 && <= 0.8.3
- free >= 4.0 && <= 4.12.4
- ghc-prim >= 0.5.0.0 && <= 0.5.1.1
- mtl >= 2.0.0.0 && <= 2.2.1
- text >= 1.2.0.0 && <= 1.2.2.2
- transformers >= 0.5.2.0 && <= 0.5.5.0
library:
source-dirs: src

View File

@ -1,27 +1,43 @@
name: postlude -- This file has been generated from package.yaml by hpack version 0.20.0.
version: 0.1.0.0 --
-- synopsis: -- see: https://github.com/sol/hpack
-- description: --
homepage: https://github.com/githubuser/postlude#readme -- hash: a0f8ab1c4a70737a18ce50a346d1cdc193d7ff1f4e1b2114f1ea82f8ca03d9b2
license: BSD3
license-file: LICENSE name: postlude
author: Author name here version: 0.1.0.1
maintainer: example@example.com description: Please see the README on Github at <https://github.com/jrpotter/postlude#readme>
copyright: 2017 Author name here homepage: https://github.com/jrpotter/postlude#readme
category: Web bug-reports: https://github.com/jrpotter/postlude/issues
build-type: Simple author: Joshua Potter
cabal-version: >=1.10 maintainer: jrpotter2112@gmail.com
extra-source-files: README.md copyright: 2018 Joshua Potter
license: BSD3
license-file: LICENSE
build-type: Simple
cabal-version: >= 1.10
extra-source-files:
README.md
source-repository head
type: git
location: https://github.com/jrpotter/postlude
library library
exposed-modules: Postlude hs-source-dirs:
hs-source-dirs: src src
default-language: Haskell2010 build-depends:
build-depends: base >= 4.7 && < 5, base >=4.7 && <5
bytestring == 0.10.8.1, , bytestring >=0.9 && <=0.10.8.2
exceptions == 0.8.3, , exceptions >=0.8 && <=0.8.3
free == 4.12.4, , free >=4.0 && <=4.12.4
ghc-prim == 0.5.0.0, , ghc-prim >=0.5.0.0 && <=0.5.1.1
mtl == 2.2.1, , mtl >=2.0.0.0 && <=2.2.1
text == 1.2.2.2, , text >=1.2.0.0 && <=1.2.2.2
transformers == 0.5.5.0 , transformers >=0.5.2.0 && <=0.5.5.0
exposed-modules:
Postlude
other-modules:
Paths_postlude
default-language: Haskell2010

View File

@ -111,7 +111,7 @@ import Data.Bool as X
, otherwise , otherwise
) )
import Data.ByteString.Lazy as X import Data.ByteString as X
( ByteString ( ByteString
) )
@ -188,7 +188,7 @@ import Data.String as X
( String ( String
) )
import Data.Text.Lazy as X import Data.Text as X
( Text ( Text
) )

View File

@ -15,7 +15,7 @@
# resolver: # resolver:
# name: custom-snapshot # name: custom-snapshot
# location: "./custom-snapshot.yaml" # location: "./custom-snapshot.yaml"
resolver: lts-9.14 resolver: lts-10.3
# User packages to be built. # User packages to be built.
# Various formats can be used as shown in the example below. # Various formats can be used as shown in the example below.
@ -39,21 +39,20 @@ packages:
- . - .
# Dependency packages to be pulled from upstream that are not in the resolver # Dependency packages to be pulled from upstream that are not in the resolver
# (e.g., acme-missiles-0.3) # (e.g., acme-missiles-0.3)
extra-deps: # extra-deps: []
- transformers-0.5.5.0
# Override default flag values for local packages and extra-deps # Override default flag values for local packages and extra-deps
flags: {} # flags: {}
# Extra package databases containing global packages # Extra package databases containing global packages
extra-package-dbs: [] # extra-package-dbs: []
# Control whether we use the GHC we find on the path # Control whether we use the GHC we find on the path
# system-ghc: true # system-ghc: true
# #
# Require a specific version of stack, using version ranges # Require a specific version of stack, using version ranges
# require-stack-version: -any # Default # require-stack-version: -any # Default
# require-stack-version: ">=1.5" # require-stack-version: ">=1.6"
# #
# Override the architecture used by stack, especially useful on Windows # Override the architecture used by stack, especially useful on Windows
# arch: i386 # arch: i386
@ -64,4 +63,4 @@ extra-package-dbs: []
# extra-lib-dirs: [/path/to/dir] # extra-lib-dirs: [/path/to/dir]
# #
# Allow a newer minor version of GHC than the snapshot specifies # Allow a newer minor version of GHC than the snapshot specifies
# compiler-check: newer-minor # compiler-check: newer-minor