packages feed

usb-id-database-0.2.1: usb-id-database.cabal

name:          usb-id-database
version:       0.2.1
cabal-version: >=1.6
build-type:    Simple
stability:     provisional
author:        Roel van Dijk
maintainer:    vandijk.roel@gmail.com
copyright:     (c) 2009 Roel van Dijk
license:       BSD3
license-file:  LICENSE
category:      System
synopsis:      A database of USB identifiers
description:
  Functions to find the names associated with numerical vendor and
  product identifiers.

extra-source-files: example.hs
data-files: usb_dot_org_db.txt
          , usb_id_repo_db.txt

flag example
  description: Build an example program
  default:     False

library
  build-depends: base        >= 3     && < 4.2
               , bimap       >= 0.2   && < 0.3
               , bytestring  >= 0.9   && < 1.0
               , containers  >= 0.2   && < 0.3
               , download    >= 0.3   && < 0.4
               , encoding    >= 0.6.2 && < 0.7
               , parsimony   >= 1     && < 1.1
               , utf8-string >= 0.3.5 && < 0.4
  ghc-options: -Wall
  cpp-options: -DBUILD_WITH_CABAL
  exposed-modules: System.USB.IDDB
                 , System.USB.IDDB.UsbDotOrg
                 , System.USB.IDDB.LinuxUsbIdRepo
  other-modules: Paths_usb_id_database
               , System.USB.IDDB.Base
               , System.USB.IDDB.Misc

executable example
  extensions: CPP
  ghc-options: -Wall
  cpp-options: -DBUILD_WITH_CABAL
  main-is: example.hs
  if flag(example)
    buildable: True
  else
    buildable: False