Setup cabal package

This commit is contained in:
Rnhmjoj 2014-11-22 17:15:49 +01:00
parent 8902c819c4
commit 0a44c57606
3 changed files with 34 additions and 0 deletions

3
LICENSE Normal file
View File

@ -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

2
Setup.hs Normal file
View File

@ -0,0 +1,2 @@
import Distribution.Simple
main = defaultMain

29
namecoin.cabal Normal file
View File

@ -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