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.

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

View File

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

View File

@ -15,7 +15,7 @@
# resolver:
# name: custom-snapshot
# location: "./custom-snapshot.yaml"
resolver: lts-9.14
resolver: lts-10.3
# User packages to be built.
# 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
# (e.g., acme-missiles-0.3)
extra-deps:
- transformers-0.5.5.0
# extra-deps: []
# Override default flag values for local packages and extra-deps
flags: {}
# flags: {}
# Extra package databases containing global packages
extra-package-dbs: []
# extra-package-dbs: []
# Control whether we use the GHC we find on the path
# system-ghc: true
#
# Require a specific version of stack, using version ranges
# 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
# arch: i386