aboutsummaryrefslogtreecommitdiffstats
path: root/pfm.cabal
blob: b529dfcc5e0f9408b2b2e06a611f8aecc8c67b53 (plain)
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
name:                pfm
version:             0.1.0.0
synopsis:            PFM image parsing library for Debevec's format.
description:
  PFM image parsing library for Paul Debevec's format.
  .
  The website containing an explanation of the format
  can be found here <http://www.pauldebevec.com/Research/HDR/PFM/>.
homepage:            https://github.com/ymherklotz/pfm#readme
license:             BSD3
license-file:        LICENSE
author:              Yann Herklotz Grave
maintainer:          ymherklotz@gmail.com
copyright:           2019 Yann Herklotz Grave
category:            Image
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:  README.md

source-repository head
  type: git
  location: git://github.com/ymherklotz/pfm.git

library
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall
  exposed-modules:     PFM
  build-depends:       attoparsec
                     , base >= 4.7 && < 5
                     , bytestring
                     , text
                     , binary
                     , data-binary-ieee754
  default-extensions:  OverloadedStrings

executable readpfm
  hs-source-dirs:      app
  main-is:             Main.hs
  default-language:    Haskell2010
  build-depends:       base >= 4.7 && < 5
                     , pfm
                     , text
                     , bytestring
                     , criterion
  default-extensions:  OverloadedStrings