Vervis/vervis.cabal

373 lines
15 KiB
Text
Raw Normal View History

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
2016-02-13 04:35:30 +01:00
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
2016-05-08 16:28:03 +02:00
Darcs.Local.Repository
Data.Attoparsec.ByteString.Local
Data.Binary.Local
Data.ByteString.Char8.Local
Data.ByteString.Local
Data.CaseInsensitive.Local
2016-03-03 09:15:54 +01:00
Data.Char.Local
Data.Either.Local
2016-05-03 03:20:23 +02:00
Data.EventTime.Local
2016-05-11 16:42:41 +02:00
Data.Functor.Local
Data.Git.Local
Data.Graph.DirectedAcyclic.View.Tree
Data.Graph.Inductive.Query.Cycle
2016-06-21 00:50:16 +02:00
Data.Graph.Inductive.Query.Layer
Data.Graph.Inductive.Query.Path
2016-07-14 02:39:00 +02:00
Data.Graph.Inductive.Query.TransRed
2016-06-21 00:50:16 +02:00
Data.HashMap.Lazy.Local
Data.Hourglass.Local
2016-02-27 06:41:36 +01:00
Data.List.Local
Data.Maybe.Local
2016-05-10 13:05:56 +02:00
Data.Paginate.Local
Data.Revision.Local
Data.Text.UTF8.Local
Data.Text.Lazy.UTF8.Local
2016-05-08 16:28:03 +02:00
Data.Time.Clock.Local
Data.Tree.Local
Database.Esqueleto.Local
Database.Persist.Class.Local
Database.Persist.Sql.Graph.Connects
Database.Persist.Sql.Graph.Cyclic
Database.Persist.Sql.Graph.Path
Database.Persist.Sql.Graph.Reachable
Database.Persist.Sql.Graph.TransitiveReduction
Database.Persist.Sql.Local
Database.Persist.Local.Class.PersistEntityGraph
Database.Persist.Local.Class.PersistEntityHierarchy
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
2016-03-06 12:58:48 +01:00
Network.SSH.Local
Text.Blaze.Local
Text.Display
Text.FilePath.Local
Text.Jasmine.Local
Web.PathPieces.Local
2016-05-10 13:05:56 +02:00
Yesod.Paginate.Local
Vervis.Application
2016-05-25 23:10:41 +02:00
Vervis.Avatar
2016-04-24 20:48:07 +02:00
Vervis.BinaryBody
Vervis.Changes
2016-06-26 10:03:18 +02:00
Vervis.Colour
2016-04-22 21:46:46 +02:00
Vervis.Content
Vervis.Darcs
Vervis.Discussion
2016-03-08 03:52:46 +01:00
Vervis.Field.Key
Vervis.Field.Person
Vervis.Field.Project
2016-02-27 06:41:36 +01:00
Vervis.Field.Repo
Vervis.Field.Role
2016-05-24 23:48:21 +02:00
Vervis.Field.Sharer
Vervis.Field.Ticket
Vervis.Field.Workflow
2016-05-20 00:07:25 +02:00
Vervis.Form.Discussion
2016-05-24 23:48:21 +02:00
Vervis.Form.Group
2016-03-08 03:52:46 +01:00
Vervis.Form.Key
Vervis.Form.Person
Vervis.Form.Project
2016-02-27 06:41:36 +01:00
Vervis.Form.Repo
Vervis.Form.Role
2016-04-30 23:26:54 +02:00
Vervis.Form.Ticket
Vervis.Form.Workflow
Vervis.Formatting
Vervis.Foundation
Vervis.Git
Vervis.GitOld
Vervis.GraphProxy
Vervis.Handler.Common
2016-05-19 18:58:23 +02:00
Vervis.Handler.Discussion
Vervis.Handler.Git
2016-05-24 23:48:21 +02:00
Vervis.Handler.Group
Vervis.Handler.Home
2016-03-07 01:42:06 +01:00
Vervis.Handler.Key
Vervis.Handler.Person
Vervis.Handler.Project
2016-02-27 06:41:36 +01:00
Vervis.Handler.Repo
Vervis.Handler.Repo.Darcs
Vervis.Handler.Repo.Git
Vervis.Handler.Role
2016-05-24 23:48:21 +02:00
Vervis.Handler.Sharer
2016-05-01 00:32:22 +02:00
Vervis.Handler.Ticket
Vervis.Handler.Wiki
Vervis.Handler.Workflow
Vervis.Import
Vervis.Import.NoFoundation
Vervis.MediaType
Vervis.Model
Vervis.Model.Entity
Vervis.Model.Group
Vervis.Model.Ident
Vervis.Model.Repo
Vervis.Model.Role
Vervis.Model.Ticket
2016-08-08 16:01:06 +02:00
Vervis.Model.Workflow
2016-05-11 16:42:41 +02:00
Vervis.Paginate
Vervis.Palette
Vervis.Path
Vervis.Query
Vervis.Readme
Vervis.Render
2016-06-21 09:35:19 +02:00
Vervis.Role
Vervis.Settings
Vervis.Settings.StaticFiles
Vervis.SourceTree
2016-03-06 12:58:48 +01:00
Vervis.Ssh
Vervis.Style
2016-08-04 09:36:24 +02:00
Vervis.Ticket
2016-05-22 16:31:56 +02:00
Vervis.TicketFilter
2016-05-25 09:50:10 +02:00
Vervis.Time
2016-05-02 16:16:51 +02:00
Vervis.Widget
2016-05-18 12:10:07 +02:00
Vervis.Widget.Discussion
Vervis.Widget.Repo
2016-07-02 11:02:13 +02:00
Vervis.Widget.Role
2016-05-24 23:48:21 +02:00
Vervis.Widget.Sharer
Vervis.Widget.Ticket
Vervis.Widget.Workflow
Vervis.Wiki
-- other-modules:
2016-02-13 04:35:30 +01:00
default-extensions: TemplateHaskell
QuasiQuotes
OverloadedStrings
NoImplicitPrelude
MultiParamTypeClasses
TypeFamilies
GADTs
GeneralizedNewtypeDeriving
FlexibleContexts
FlexibleInstances
EmptyDataDecls
NoMonomorphismRestriction
DeriveDataTypeable
ViewPatterns
TupleSections
RecordWildCards
build-depends: aeson
2016-05-08 16:28:03 +02:00
-- for parsing commands sent over SSH and Darcs patch
-- metadata
, attoparsec
, base
2016-05-08 16:28:03 +02:00
-- for hex display of Darcs patch hashes
, base16-bytestring
, base64-bytestring
-- for Data.Binary.Local
, binary
2016-03-07 01:42:06 +01:00
, blaze-html
-- for Data.EventTime.Local
, blaze-markup
, byteable
, bytestring
-- for Darcs.Local.PatchInfo.Parser
, bytestring-lexing
, case-insensitive
, classy-prelude
, classy-prelude-conduit
2016-06-26 10:03:18 +02:00
-- for defining colors for use with diagrams
, colour
, conduit
, containers
2016-05-08 16:28:03 +02:00
-- 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
2016-05-10 13:05:56 +02:00
-- for Data.Paginate.Local
, data-default-class
-- for drawing DAGs: RBAC role inheritance, etc.
2016-07-02 10:51:29 +02:00
, diagrams-core
, diagrams-lib
, diagrams-svg
, 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
2016-02-13 04:35:30 +01:00
, file-embed
2016-02-27 06:41:36 +01:00
, filepath
, formatting
2016-02-29 22:42:37 +01:00
, hashable
-- for source file highlighting
, highlighter2
-- for pandoc inline code highlighting
, highlighting-kate
, hit
, hit-graph >= 0.1
, hit-harder >= 0.1
2016-04-22 21:46:46 +02:00
, hit-network >= 0.1
-- currently discarding all JS so no need for minifier
--, hjsmin
-- 'hit' uses it for 'GitTime'
, hourglass
, http-conduit
2016-02-29 15:04:23 +01:00
, http-types
2016-05-25 23:10:41 +02:00
, libravatar
2016-05-08 16:28:03 +02:00
-- 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
2016-02-13 04:35:30 +01:00
, safe
, shakespeare
2016-07-02 10:51:29 +02:00
, ssh
-- for rendering diagrams
, svg-builder
-- for text drawing in 'diagrams'
, SVGFonts
, template-haskell
, text
, time
2016-02-29 15:04:23 +01:00
, transformers
-- probably should be replaced with lenses once I learn
, tuple
2016-02-13 04:35:30 +01:00
, unordered-containers
, wai
, wai-extra
, wai-logger
, warp
, xss-sanitize
, yaml
, yesod
, yesod-auth
, yesod-auth-hashdb
, yesod-core
, yesod-form
, yesod-static
2016-03-07 01:42:06 +01:00
, yesod-persistent
-- for reading gzipped darcs inventory via utils in
-- Data.Attoparsec.ByteString.Local
, zlib
hs-source-dirs: src
2016-02-13 04:35:30 +01:00
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
2016-02-06 14:36:35 +01:00
, persistent
2016-02-13 04:35:30 +01:00
, persistent-postgresql
, resourcet
2016-02-13 04:35:30 +01:00
, monad-logger
, shakespeare
, transformers
2016-02-13 04:35:30 +01:00
, hspec >= 2.0.0
, classy-prelude
, classy-prelude-yesod
, aeson
hs-source-dirs: test
default-language: Haskell2010
2016-07-05 14:36:40 +02:00
ghc-options: -Wall
type: exitcode-stdio-1.0
-- test-suite test-graph
-- main-is: Test.hs
-- build-depends: base
-- , fgl
-- , fgl-arbitrary
-- , hspec
-- , vervis
-- hs-source-dirs: test
-- default-language: Haskell2010
-- ghc-options: -Wall
-- type: exitcode-stdio-1.0