-- Initial tld.cabal generated by cabal init. For further documentation, -- see http://haskell.org/cabal/users-guide/ -- The name of the package. name: tld -- The package version. See the Haskell package versioning policy (PVP) -- for standards guiding when and how versions should be incremented. -- http://www.haskell.org/haskellwiki/Package_versioning_policy -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change version: 0.3.0.2 -- A short (one-line) description of the package. synopsis: This project separates subdomains, domains, and top-level-domains from URLs. -- A longer description of the package. description: This project separates subdomains, domains, and top-level-domains from URLs. At compile-time, it parses a list of top-level-domains from `data/tld.dat`. This list comes from `http://mxr.mozilla.org/mozilla/source/netwerk/dns/src/effective_tld_names.dat?raw=1`. This package most likely isn't perfect, especially when handling unicode characters. -- The license under which the package is released. license: MIT -- The file containing the license text. license-file: LICENSE -- The package author(s). author: James Parker -- An email address to which users can send suggestions, bug reports, and -- patches. maintainer: dev@jamesparker.me -- A copyright notice. -- copyright: category: Network build-type: Simple -- Extra files to be distributed with the package, such as examples or a -- README. extra-source-files: data/tld.dat -- Constraint on the version of Cabal needed to build this package. cabal-version: >=1.10 library -- Modules exported by the library. exposed-modules: Network.URI.TLD -- Modules included in this library but not exported. other-modules: Network.URI.TLD.Internal -- LANGUAGE extensions used by modules in this package. -- other-extensions: -- Other library packages from which modules are imported. build-depends: base ==4.* , containers , network-uri , text -- Directories containing source files. hs-source-dirs: src -- Base language which the package is written in. default-language: Haskell2010 ghc-options: -Wall -fno-warn-orphans -fno-warn-type-defaults -fno-warn-name-shadowing -- -Werror -Wall -fno-warn-orphans -fno-warn-type-defaults -fno-warn-name-shadowing test-suite parser-test type: exitcode-stdio-1.0 hs-source-dirs: test main-is: Main.hs build-depends: base , HUnit , network-uri , text , tld default-language: Haskell2010 ghc-options: -Wall -fno-warn-orphans -fno-warn-type-defaults -fno-warn-name-shadowing source-repository head type: git location: https://github.com/jprider63/tld