From ee17e3c26c09942f7b001b3c432a2b34c1bb0dcc Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Fri, 28 Aug 2015 15:17:36 +0000 Subject: [PATCH] Cabalize --- LICENSE | 20 ++++++++++++++++++++ namecoin-update.hs => Main.hs | 0 Setup.hs | 2 ++ namecoin-update.cabal | 19 +++++++++++++++++++ 4 files changed, 41 insertions(+) create mode 100644 LICENSE rename namecoin-update.hs => Main.hs (100%) create mode 100644 Setup.hs create mode 100644 namecoin-update.cabal diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..fbc8b8f --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2015 rnhmjoj + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/namecoin-update.hs b/Main.hs similarity index 100% rename from namecoin-update.hs rename to Main.hs 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-update.cabal b/namecoin-update.cabal new file mode 100644 index 0000000..e509f51 --- /dev/null +++ b/namecoin-update.cabal @@ -0,0 +1,19 @@ +name: namecoin-update +version: 0.1.0.0 +synopsis: Script to update namecoin names +license: MIT +license-file: LICENSE +author: rnhmjoj +maintainer: micheleguerinirocco@me.com +copyright: Copyright (C) Michele Guerini Rocco +category: Network +build-type: Simple +cabal-version: >=1.10 + +executable namecoin-update + main-is: Main.hs + -- other-modules: + -- other-extensions: s + build-depends: base >=4.8 && <4.9, bytestring, aeson, process + -- hs-source-dirs: + default-language: Haskell2010 \ No newline at end of file