name: pdns-pipe-nmc
-version: 0.9.0.0
+version: 0.9.0.1
synopsis: Namecoin pipe backend for PowerDNS
description: Realtime bridge between Namecoin "d/" namespace
(http://namecoin.info/) and DNS implemented as
, MissingH
, vector
, unordered-containers
+ , data-default >=0.5.1
, data-default-class >=0.0.1
, http-client >=0.2
, http-types >=0.6
, mtl >=2.0
, pretty-show
, time
- -- hs-source-dirs:
default-language: Haskell98
+{-# LANGUAGE CPP #-}
{-# LANGUAGE OverloadedStrings #-}
module Main where
import Data.Aeson (encode, decode, Value(..))
import Network.HTTP.Types
import Network.HTTP.Client
+#if MIN_VERSION_data_default(0,5,3)
import Data.Default.Class (def)
--- if you have data-default-0.5.1 import this instead of Data.Default.Class:
--- import Data.Default (def)
+#else
+import Data.Default (def)
+#endif
import JsonRpcClient
import Config