From 0a44c57606f7b217292719c69d583a92968fbcd7 Mon Sep 17 00:00:00 2001 From: Rnhmjoj Date: Sat, 22 Nov 2014 17:15:49 +0100 Subject: [PATCH] Setup cabal package --- LICENSE | 3 +++ Setup.hs | 2 ++ namecoin.cabal | 29 +++++++++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 LICENSE create mode 100644 Setup.hs create mode 100644 namecoin.cabal diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8e2e4aa --- /dev/null +++ b/LICENSE @@ -0,0 +1,3 @@ +Dual licensed under the MIT and GPL licenses: +http://www.opensource.org/licenses/mit-license.php +http://www.gnu.org/licenses/gpl.html \ No newline at end of file diff --git a/Setup.hs b/Setup.hs new file mode 100644 index 0000000..9a994af --- /dev/null +++ b/Setup.hs @@ -0,0 +1,2 @@ +import Distribution.Simple +main = defaultMain diff --git a/namecoin.cabal b/namecoin.cabal new file mode 100644 index 0000000..9812b07 --- /dev/null +++ b/namecoin.cabal @@ -0,0 +1,29 @@ +name: namecoin +version: 0.1.0.0 +synopsis: Query namecoin blockchain +description: + + Namecoin is a commmand line tool to query the namecoin blockhain. + It gets the JSON value of a name and other infos using namecoind + local server or the dnschain REST api and display them in a pretty + format. + +license: MIT +license-file: LICENSE +author: Rnhmjoj +maintainer: micheleguerinirocco@me.com +copyright: (C) Michele Guerini Rocco 2014 +category: Utility +build-type: Simple +extra-source-files: README.md, LICENSE +cabal-version: >=1.10 + +executable namecoin + main-is: Main.hs + default-language: Haskell2010 + other-extensions: RecordWildCards, OverloadedStrings + build-depends: base ==4.7.*, aeson ==0.8.*, text ==1.2.*, + vector ==0.10.*, unordered-containers ==0.2.*, + wreq ==0.3.*, lens >=4.5, bytestring ==0.10.*, + argparser ==0.3.*, process ==1.2.* + ghc-options: -O2 \ No newline at end of file