File: temporary.cabal

package info (click to toggle)
haskell-temporary 1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 80 kB
  • sloc: haskell: 215; makefile: 2
file content (50 lines) | stat: -rw-r--r-- 1,485 bytes parent folder | download | duplicates (4)
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
name:                temporary
version:             1.3
cabal-version:       >= 1.10
synopsis:            Portable temporary file and directory support
description:         Functions for creating temporary files and directories.
category:            System, Utils
license:             BSD3
license-file:        LICENSE
maintainer:          Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>, Roman Cheplyaka <roma@ro-che.info>
homepage:            https://github.com/feuerbach/temporary
build-type:          Simple
extra-source-files:  CHANGELOG.md

source-repository head
  type:     git
  location: git://github.com/feuerbach/temporary.git

Library
    default-language:
      Haskell2010
    exposed-modules: System.IO.Temp
    build-depends:   base >= 3 && < 10, filepath >= 1.1, directory >= 1.0,
                     transformers >= 0.2.0.0, exceptions >= 0.6, random >= 1.1
                     -- note: the transformers dependency is needed for MonadIO
                     -- on older GHCs; on newer ones, it is included in base.
    ghc-options:     -Wall
    
    if !os(windows)
        build-depends: unix >= 2.3

test-suite test
  default-language:
    Haskell2010
  type:
    exitcode-stdio-1.0
  hs-source-dirs:
    tests
  main-is:
    test.hs
  ghc-options: -threaded -with-rtsopts=-N2
  build-depends:
      base >= 4.3 && < 5
    , directory
    , tasty
    , tasty-hunit
    , temporary
    , filepath
    , base-compat
  if !os(windows)
      build-depends: unix >= 2.3