/
temporary-resourcet.cabal
63 lines (59 loc) · 2.01 KB
/
temporary-resourcet.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: temporary-resourcet
version: 0.1.0.1
cabal-version: >= 1.8
synopsis: Portable temporary files and directories with automatic deletion
description:
The functions for creating temporary files and directories in the base
library are quite limited. The @unixutils@ package contains some good ones,
but they aren't portable to Windows.
.
This library repackages the Cabal implementations of its own temporary file
and folder functions so that you can use them without linking against Cabal
or depending on it being installed.
.
This library provides the same functionality as the @temporary@ package, but
uses @resourcet@ to provide automatic deletion without nesting @withTempFile@.
category: System, Utils
license: BSD3
license-file: LICENSE
copyright: (c) 2003-2006, Isaac Jones
(c) 2005-2009, Duncan Coutts
(c) 2014-2018, Thomas Tuegel
author: Isaac Jones <ijones@syntaxpolice.org>
Duncan Coutts <duncan@haskell.org>
Thomas Tuegel <ttuegel@mailbox.org>
maintainer: Thomas Tuegel <ttuegel@mailbox.org>
homepage: http://www.github.com/ttuegel/temporary-resourcet
bug-reports: https://github.com/ttuegel/temporary-resourcet/issues
build-type: Simple
source-repository head
type: git
location: https://github.com/ttuegel/temporary-resourcet.git
Library
hs-source-dirs: src
exposed-modules:
System.IO.Temp
other-modules:
Distribution.Compat.Exception
Distribution.Compat.TempFile
build-depends:
base >=3 && <10,
directory >=1.0,
exceptions >=0.5,
filepath >=1.1,
resourcet >=0.3 && <2,
transformers >=0.2.0.0
if !os(windows)
build-depends: unix >=2.3
test-suite test-temporary-resourcet
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Test.hs
build-depends:
base >=3 && <10,
directory >=1.0,
resourcet >=0.3 && <2,
tasty >=1.0 && <1.2,
tasty-hunit >=0.8 && <0.12,
temporary-resourcet,
transformers >=0.2.0.0