From 75d640063f2f9fc346353fc2bd4c41cf8c45f672 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Tue, 7 Jul 2015 15:40:52 +0200 Subject: [PATCH] Cabalize --- LICENSE | 3 +++ Setup.hs | 2 ++ keychain.cabal | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 LICENSE create mode 100644 Setup.hs create mode 100644 keychain.cabal diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..c4c7c6f --- /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 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/keychain.cabal b/keychain.cabal new file mode 100644 index 0000000..4c85c05 --- /dev/null +++ b/keychain.cabal @@ -0,0 +1,32 @@ +name: keychain +version: 0.1.0.0 +synopsis: a tool to access the OSX keychain +description: + + is a command line tool used to quickly access passwords stored + in the OSX keychain. You can search for by account, server name + or any other available attribute and get a list of fuzzy matched + result. The first match is be copied to the clipbdoard. + + +license: MIT +license-file: LICENSE +author: rnhmjoj +maintainer: micheleguerinirocco@me.com +copyright: (C) Michele Guerini Rocco +category: Utility +build-type: Simple +extra-source-files: README.md, LICENSE +cabal-version: >=1.10 + +executable keychain + main-is: Main.hs + hs-source-dirs: src + default-language: Haskell2010 + other-modules: + other-extensions: OverloadedStrings, RecordWildCards, + ViewPatterns, FlexibleInstances, + TypeSynonymInstances + build-depends: base >=4.8 && <= 5.0, filepath, process, + attoparsec, bytestring, hex, time +