packages feed

error-codes-0.1.3.1: error-codes.cabal

cabal-version:   2.2
name:            error-codes
version:         0.1.3.1
synopsis:        Error code functions
description:
  A library for creating human-readable descriptions of error codes from the operating system.

homepage:        https://github.com/byteverse/error-codes
bug-reports:     https://github.com/byteverse/error-codes/issues
license:         BSD-3-Clause
license-file:    LICENSE
author:          Andrew Martin
maintainer:      amartin@layer3com.com
copyright:       2019 Andrew Martin
category:        System
extra-doc-files:
  CHANGELOG.md
  README.md

common build-settings
  default-language: Haskell2010
  ghc-options:      -Wall -Wunused-packages

library
  import:          build-settings
  exposed-modules:
    Foreign.C.Error.Describe
    Foreign.C.Error.Pattern

  build-depends:
    , base                >=4.11.1 && <5
    , bytestring          >=0.11
    , primitive           >=0.7    && <0.10
    , primitive-unlifted  >=0.1    && <2.2
    , text                >=2.0
    , text-short          >=0.1.5

  hs-source-dirs:  src
  ghc-options:     -O2

test-suite test
  import:         build-settings
  type:           exitcode-stdio-1.0
  hs-source-dirs: test
  main-is:        Main.hs
  build-depends:
    , base
    , error-codes

source-repository head
  type:     git
  location: git://github.com/byteverse/error-codes.git