Browse Source

Initial cabalization of site

Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
pull/2/head
5 changed files with 89 additions and 8 deletions
  1. +1
    -0
      .gitignore
  2. +9
    -8
      LICENSE
  3. +2
    -0
      Setup.hs
  4. +77
    -0
      blog-rekahsoft-ca.cabal
  5. +0
    -0
      src/site.hs

+ 1
- 0
.gitignore View File

@@ -6,3 +6,4 @@
site
_site
_cache
dist

gpl.txt → LICENSE View File

@@ -1,11 +1,11 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Preamble
Preamble

The GNU General Public License is a free, copyleft license for
software and other kinds of works.
@@ -68,7 +68,7 @@ patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.

TERMS AND CONDITIONS
TERMS AND CONDITIONS

0. Definitions.

@@ -76,7 +76,7 @@ modification follow.

"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
@@ -509,7 +509,7 @@ actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
@@ -618,9 +618,9 @@ an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.

END OF TERMS AND CONDITIONS
END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Programs
How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
@@ -672,3 +672,4 @@ may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.


+ 2
- 0
Setup.hs View File

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

+ 77
- 0
blog-rekahsoft-ca.cabal View File

@@ -0,0 +1,77 @@
-- Initial blog-rekahsoft-ca.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/

-- The name of the package.
name: blog-rekahsoft-ca

-- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.0.0

-- A short (one-line) description of the package.
synopsis: The source for my Hakyll powered blog at http://blog.rekahsoft.ca

-- A longer description of the package.
-- description:

-- URL for the project homepage or repository.
homepage: http://blog.rekahsoft.ca

-- The license under which the package is released.
license: GPL-3

-- The file containing the license text.
license-file: LICENSE

-- The package author(s).
author: Collin J. Doering

-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer: collin.doering@gmail.com

-- A copyright notice.
-- copyright:

category: Web

build-type: Simple

-- Extra files to be distributed with the package, such as examples or a
-- README.
-- extra-source-files:

-- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.10


executable blog-rekahsoft-ca
-- .hs or .lhs file containing the Main module.
main-is: src/site.hs
-- Modules included in this executable, other than Main.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
-- Other library packages from which modules are imported.
build-depends: base >=4.6 && <4.7,
hakyll >=4.4,
pandoc >= 1.12,
parsec >= 3.1,
filepath >= 1.3,
random >= 1.0,
time >= 1.4,
old-locale >= 1.0,
containers >= 0.5
-- Directories containing source files.
-- hs-source-dirs:
-- Base language which the package is written in.
default-language: Haskell2010

site.hs → src/site.hs View File


Loading…
Cancel
Save