Skip to content

Commit d0b58cd

Browse files
committed
Add cabal package configuration
1 parent 97a6e95 commit d0b58cd

File tree

4 files changed

+48
-0
lines changed

4 files changed

+48
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist

LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright (c) 2014 Behrang Noruzi Niya
2+
3+
Permission is hereby granted, free of charge, to any person obtaining
4+
a copy of this software and associated documentation files (the
5+
"Software"), to deal in the Software without restriction, including
6+
without limitation the rights to use, copy, modify, merge, publish,
7+
distribute, sublicense, and/or sell copies of the Software, and to
8+
permit persons to whom the Software is furnished to do so, subject to
9+
the following conditions:
10+
11+
The above copyright notice and this permission notice shall be included
12+
in all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Setup.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import Distribution.Simple
2+
main = defaultMain

jalaali.cabal

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
-- Initial jalaali.cabal generated by cabal init. For further
2+
-- documentation, see http://haskell.org/cabal/users-guide/
3+
4+
name: jalaali
5+
version: 0.1.0
6+
synopsis: Haskell functions for converting Jalaali and Gregorian calendar systems to each other
7+
-- description:
8+
homepage: https://github.com/jalaali/jalaali-hs
9+
license: MIT
10+
license-file: LICENSE
11+
author: Behrang Noruzi Niya
12+
maintainer: [email protected]
13+
-- copyright:
14+
category: Math
15+
build-type: Simple
16+
extra-source-files: Readme.md
17+
cabal-version: >=1.10
18+
19+
library
20+
exposed-modules: Data.Time.Calendar.Jalaali
21+
-- other-modules:
22+
-- other-extensions:
23+
build-depends: base >=4.6 && <4.7
24+
-- hs-source-dirs:
25+
default-language: Haskell2010

0 commit comments

Comments
 (0)