Skip to content

Commit 36c4674

Browse files
author
Moritz Clasmeier
committed
Relaxed version bounds for lifted-async.
Converted project to hpack. Version bump. Updated copyright, author and maintainer.
1 parent 68cf1c3 commit 36c4674

File tree

5 files changed

+53
-112
lines changed

5 files changed

+53
-112
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ cabal.sandbox.config
1717
*.eventlog
1818
.stack-work/
1919
cabal.project.local
20+
async-timer.cabal

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright Moritz Schulte (c) 2016-2017
1+
Copyright Moritz Clasmeier (c) 2016-2018
22

33
All rights reserved.
44

async-timer.cabal

-50
This file was deleted.

package.yaml

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: async-timer
2+
version: '0.1.4.1'
3+
synopsis: Provides API for timer based execution of IO actions
4+
description: ! 'This is a lightweight package built on top of the async package
5+
6+
providing easy to use periodic timers. This can be used for executing
7+
8+
IO actions periodically.'
9+
category: Concurrency
10+
author: Moritz Clasmeier
11+
maintainer: [email protected]
12+
copyright: (c) 2016-2018 Moritz Clasmeier
13+
license: BSD3
14+
github: mtesseract/async-timer
15+
extra-source-files:
16+
- README.md
17+
library:
18+
source-dirs: src
19+
ghc-options:
20+
- -Wall
21+
- -fno-warn-type-defaults
22+
exposed-modules:
23+
- Control.Concurrent.Async.Timer
24+
- Control.Concurrent.Async.Timer.Unsafe
25+
dependencies:
26+
- base >=4.9.1.0 && <5
27+
- lifted-base >=0.2.3.11 && <0.3
28+
- lifted-async >=0.9.1.1 && < 0.11
29+
- monad-control >=1.0.1.0 && <1.1
30+
- safe-exceptions >=0.1.5.0 && <0.2
31+
- transformers-base >=0.4.4 && <0.5
32+
tests:
33+
async-timer-test:
34+
main: Spec.hs
35+
source-dirs: test
36+
default-extensions:
37+
- OverloadedStrings
38+
ghc-options:
39+
- -threaded
40+
- -rtsopts
41+
- -with-rtsopts=-N
42+
dependencies:
43+
- base
44+
- lifted-async
45+
- async-timer
46+
- HUnit
47+
- test-framework
48+
- test-framework-hunit
49+
- containers
50+
- criterion

stack.yaml

+1-61
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,6 @@
1-
# This file was automatically generated by 'stack init'
2-
#
3-
# Some commonly used options have been documented as comments in this file.
4-
# For advanced use and comprehensive documentation of the format, please see:
5-
# http://docs.haskellstack.org/en/stable/yaml_configuration/
6-
7-
# Resolver to choose a 'specific' stackage snapshot or a compiler version.
8-
# A snapshot resolver dictates the compiler version and the set of packages
9-
# to be used for project dependencies. For example:
10-
#
11-
# resolver: lts-3.5
12-
# resolver: nightly-2015-09-21
13-
# resolver: ghc-7.10.2
14-
# resolver: ghcjs-0.1.0_ghc-7.10.2
15-
# resolver:
16-
# name: custom-snapshot
17-
# location: "./custom-snapshot.yaml"
18-
resolver: lts-8.17
19-
20-
# User packages to be built.
21-
# Various formats can be used as shown in the example below.
22-
#
23-
# packages:
24-
# - some-directory
25-
# - https://example.com/foo/bar/baz-0.0.2.tar.gz
26-
# - location:
27-
# git: https://github.com/commercialhaskell/stack.git
28-
# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
29-
# - location: https://github.com/commercialhaskell/stack/commit/e7b331f14bcffb8367cd58fbfc8b40ec7642100a
30-
# extra-dep: true
31-
# subdirs:
32-
# - auto-update
33-
# - wai
34-
#
35-
# A package marked 'extra-dep: true' will only be built if demanded by a
36-
# non-dependency (i.e. a user package), and its test suites and benchmarks
37-
# will not be run. This is useful for tweaking upstream packages.
1+
resolver: lts-10.5
382
packages:
393
- '.'
40-
# Dependency packages to be pulled from upstream that are not in the resolver
41-
# (e.g., acme-missiles-0.3)
424
extra-deps: []
43-
44-
# Override default flag values for local packages and extra-deps
455
flags: {}
46-
47-
# Extra package databases containing global packages
486
extra-package-dbs: []
49-
50-
# Control whether we use the GHC we find on the path
51-
# system-ghc: true
52-
#
53-
# Require a specific version of stack, using version ranges
54-
# require-stack-version: -any # Default
55-
# require-stack-version: ">=1.2"
56-
#
57-
# Override the architecture used by stack, especially useful on Windows
58-
# arch: i386
59-
# arch: x86_64
60-
#
61-
# Extra directories used by stack for building
62-
# extra-include-dirs: [/path/to/dir]
63-
# extra-lib-dirs: [/path/to/dir]
64-
#
65-
# Allow a newer minor version of GHC than the snapshot specifies
66-
# compiler-check: newer-minor

0 commit comments

Comments
 (0)