packages feed

ssh-known-hosts-0.2.0.0: ssh-known-hosts.cabal

name:                ssh-known-hosts
version:             0.2.0.0
synopsis:            Read and interpret the SSH known-hosts file

description:

   Utility to read the contents of the SSH known_hosts file and create
   local in-memory data structures for each of the remote entities
   listed.

homepage:            http://hub.darcs.net/kquick/ssh-known-hosts
license:             BSD3
license-file:        LICENSE
author:              Kevin Quick
maintainer:          quick@sparq.org
copyright:           2016 Kevin Quick
category:            Network
build-type:          Simple
cabal-version:       >=1.10

data-files: CHANGELOG.md

library
  hs-source-dirs:      src
  exposed-modules:     Network.SSH.KnownHosts
  build-depends:       base >= 4.7 && < 5
                     , iproute >= 1.5
                     , text
  default-language:    Haskell2010

Flag sample_progs
     Description: Build sample programs
     Default:     False

executable readknownhosts
  main-is: readknownhosts.hs
  build-depends:   base, ssh-known-hosts
  if !flag(sample_progs)
    buildable: False
  default-language:    Haskell2010

test-suite test_parsing
  type: exitcode-stdio-1.0
  main-is: test_ssh_known_hosts.hs
  hs-source-dirs: test
  default-language:    Haskell2010
  build-depends: base, HUnit, QuickCheck, text, iproute
               , test-framework, test-framework-hunit
               , test-framework-quickcheck2
               , ssh-known-hosts, unix

source-repository head
  type:     darcs
  location: http://hub.darcs.net/kquick/ssh-known-hosts