Vervis/vervis.cabal
2016-06-28 19:46:54 +00:00

333 lines
13 KiB
Text

name: vervis
version: 0.1
synopsis: Hopefully one day a decentralized project hosting platform
description:
This project is starting as a minimal Git repo viewer, but aims to evolve
into a decentralized federated software project hosting platform.
homepage: http://hub.darcs.net/fr33domlover/vervis
bug-reports: http://rel4tion.org/projects/vervis/tickets/
license: PublicDomain
license-file: COPYING
author: fr33domlover
maintainer: fr33domlover@riseup.net
copyright: ♡ Copying is an act of love. Please copy, reuse and share.
category: Development, Distribution, Git, Web
build-type: Simple
extra-source-files: AUTHORS
ChangeLog
COPYING
INSTALL.md
NEWS.md
README.md
cabal-version: >=1.10
source-repository head
type: darcs
location: http://hub.darcs.net/fr33domlover/vervis
flag dev
description: Turn on development settings, like auto-reload templates.
default: False
flag library-only
description: Build for use with "yesod devel"
default: False
library
exposed-modules: Control.Applicative.Local
Darcs.Local.Hash.Codec
Darcs.Local.Hash.Types
Darcs.Local.Inventory.Parser
Darcs.Local.Inventory.Read
Darcs.Local.Inventory.Types
Darcs.Local.Patch
Darcs.Local.Patch.Types
Darcs.Local.Repository
Data.Attoparsec.ByteString.Local
Data.Binary.Local
Data.ByteString.Char8.Local
Data.ByteString.Local
Data.CaseInsensitive.Local
Data.Char.Local
Data.Either.Local
Data.EventTime.Local
Data.Functor.Local
Data.Git.Local
Data.Graph.Inductive.Query.Layer
Data.HashMap.Lazy.Local
Data.Hourglass.Local
Data.List.Local
Data.Paginate.Local
Data.Revision.Local
Data.Text.UTF8.Local
Data.Text.Lazy.UTF8.Local
Data.Time.Clock.Local
Data.Tree.Local
Database.Esqueleto.Local
Database.Persist.Class.Local
Database.Persist.Sql.Local
Database.Persist.Local.Class.PersistQueryForest
Database.Persist.Local.RecursionDoc
Database.Persist.Local.Sql
Database.Persist.Local.Sql.Orphan.Common
Database.Persist.Local.Sql.Orphan.PersistQueryForest
Development.DarcsRev
Diagrams.IntransitiveDAG
Formatting.CaseInsensitive
Network.SSH.Local
Text.Blaze.Local
Text.Display
Text.FilePath.Local
Text.Jasmine.Local
Web.PathPieces.Local
Yesod.Paginate.Local
Vervis.Application
Vervis.Avatar
Vervis.BinaryBody
Vervis.Changes
Vervis.Colour
Vervis.Content
Vervis.Darcs
Vervis.Discussion
Vervis.Field.Key
Vervis.Field.Person
Vervis.Field.Project
Vervis.Field.Repo
Vervis.Field.Role
Vervis.Field.Sharer
Vervis.Field.Ticket
Vervis.Form.Discussion
Vervis.Form.Group
Vervis.Form.Key
Vervis.Form.Person
Vervis.Form.Project
Vervis.Form.Repo
Vervis.Form.Role
Vervis.Form.Ticket
Vervis.Formatting
Vervis.Foundation
Vervis.Git
Vervis.GitOld
Vervis.Handler.Common
Vervis.Handler.Discussion
Vervis.Handler.Git
Vervis.Handler.Group
Vervis.Handler.Home
Vervis.Handler.Key
Vervis.Handler.Person
Vervis.Handler.Project
Vervis.Handler.Repo
Vervis.Handler.Repo.Darcs
Vervis.Handler.Repo.Git
Vervis.Handler.Role
Vervis.Handler.Sharer
Vervis.Handler.Ticket
Vervis.Handler.Wiki
Vervis.Import
Vervis.Import.NoFoundation
Vervis.MediaType
Vervis.Model
Vervis.Model.Group
Vervis.Model.Ident
Vervis.Model.Repo
Vervis.Model.Role
Vervis.Paginate
Vervis.Palette
Vervis.Path
Vervis.Query
Vervis.Readme
Vervis.Render
Vervis.Role
Vervis.Settings
Vervis.Settings.StaticFiles
Vervis.SourceTree
Vervis.Ssh
Vervis.Style
Vervis.TicketFilter
Vervis.Time
Vervis.Widget
Vervis.Widget.Discussion
Vervis.Widget.Repo
Vervis.Widget.Sharer
Vervis.Wiki
-- other-modules:
default-extensions: TemplateHaskell
QuasiQuotes
OverloadedStrings
NoImplicitPrelude
MultiParamTypeClasses
TypeFamilies
GADTs
GeneralizedNewtypeDeriving
FlexibleContexts
FlexibleInstances
EmptyDataDecls
NoMonomorphismRestriction
DeriveDataTypeable
ViewPatterns
TupleSections
RecordWildCards
build-depends: aeson
-- for parsing commands sent over SSH and Darcs patch
-- metadata
, attoparsec
, base
-- for hex display of Darcs patch hashes
, base16-bytestring
, base64-bytestring
-- for Data.Binary.Local
, binary
, blaze-html
-- for Data.EventTime.Local
, blaze-markup
, byteable
, bytestring
-- for Darcs.Local.PatchInfo.Parser
, bytestring-lexing
, case-insensitive
, classy-prelude
, classy-prelude-conduit
-- for defining colors for use with diagrams
, colour
, conduit
, containers
-- for SHA1 hashing when parsing Darcs patch metadata
, cryptonite
-- for Storage.Hashed because hashed-storage seems
-- unmaintained and darcs has its own copy
, darcs
, data-default
-- for Data.Paginate.Local
, data-default-class
-- for drawing DAGs: RBAC role inheritance, etc.
, diagrams-lib
, directory
-- for Data.Git.Local
, directory-tree
, dlist
, esqueleto
, fast-logger
-- for building a message tree using DFS in
-- Vervis.Discussion, possibly also used by some git
-- graph related code?
, fgl
, file-embed
, filepath
, formatting
, hashable
-- for source file highlighting
, highlighter2
-- for pandoc inline code highlighting
, highlighting-kate
, hit
, hit-graph >= 0.1
, hit-harder >= 0.1
, hit-network >= 0.1
-- currently discarding all JS so no need for minifier
--, hjsmin
-- 'hit' uses it for 'GitTime'
, hourglass
, http-conduit
, http-types
, libravatar
-- for converting Darcs patch hash Digest to ByteString
, memory
, monad-control
, monad-logger
-- for Database.Persist.Local
, mtl
, pandoc
, pandoc-types
-- for PathPiece instance for CI, Web.PathPieces.Local
, path-pieces
, persistent
, persistent-postgresql
, persistent-template
, process
-- for Database.Persist.Local
, resourcet
, safe
, shakespeare
-- for text drawing in 'diagrams'
, SVGFonts
, ssh
, template-haskell
, text
, time
, transformers
-- probably should be replaced with lenses once I learn
, tuple
, unordered-containers
, wai
, wai-extra
, wai-logger
, warp
, xss-sanitize
, yaml
, yesod
, yesod-auth
, yesod-auth-hashdb
, yesod-core
, yesod-form
, yesod-static
, yesod-persistent
-- for reading gzipped darcs inventory via utils in
-- Data.Attoparsec.ByteString.Local
, zlib
hs-source-dirs: src
default-language: Haskell2010
if flag(dev) || flag(library-only)
cpp-options: -DDEVELOPMENT
ghc-options: -Wall -fwarn-tabs -O0
else
ghc-options: -Wall -fwarn-tabs -O2
executable vervis
main-is: main.hs
build-depends: base, vervis
hs-source-dirs: app
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N
if flag(library-only)
buildable: False
test-suite test
main-is: Spec.hs
default-extensions: TemplateHaskell
QuasiQuotes
OverloadedStrings
NoImplicitPrelude
CPP
MultiParamTypeClasses
TypeFamilies
GADTs
GeneralizedNewtypeDeriving
FlexibleContexts
FlexibleInstances
EmptyDataDecls
NoMonomorphismRestriction
DeriveDataTypeable
ViewPatterns
TupleSections
build-depends: base
, vervis
, yesod-test >= 1.5.0.1 && < 1.6
, yesod-core
, yesod
, persistent
, persistent-postgresql
, resourcet
, monad-logger
, shakespeare
, transformers
, hspec >= 2.0.0
, classy-prelude
, classy-prelude-yesod
, aeson
hs-source-dirs: test
default-language: Haskell2010
ghc-options: -Wall
type: exitcode-stdio-1.0