1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2024-12-27 16:44:52 +09:00
vervis/vervis.cabal

339 lines
13 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 12:35:30 +09: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 23:28:03 +09:00
Darcs.Local.Repository
Data.Attoparsec.ByteString.Local
Data.Binary.Local
Data.ByteString.Char8.Local
Data.ByteString.Local
Data.CaseInsensitive.Local
2016-03-03 17:15:54 +09:00
Data.Char.Local
Data.Either.Local
2016-05-03 10:20:23 +09:00
Data.EventTime.Local
2016-05-11 23:42:41 +09:00
Data.Functor.Local
Data.Git.Local
2016-06-21 07:50:16 +09:00
Data.Graph.Inductive.Query.Layer
Data.HashMap.Lazy.Local
Data.Hourglass.Local
2016-02-27 14:41:36 +09:00
Data.List.Local
2016-05-10 20:05:56 +09:00
Data.Paginate.Local
Data.Revision.Local
Data.Text.UTF8.Local
Data.Text.Lazy.UTF8.Local
2016-05-08 23:28:03 +09:00
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
2016-03-06 20:58:48 +09:00
Network.SSH.Local
Text.Blaze.Local
Text.Display
Text.FilePath.Local
Text.Jasmine.Local
Web.PathPieces.Local
2016-05-10 20:05:56 +09:00
Yesod.Paginate.Local
Vervis.Application
2016-05-26 06:10:41 +09:00
Vervis.Avatar
2016-04-25 03:48:07 +09:00
Vervis.BinaryBody
Vervis.Changes
2016-06-26 17:03:18 +09:00
Vervis.Colour
2016-04-23 04:46:46 +09:00
Vervis.Content
Vervis.Darcs
Vervis.Discussion
2016-03-08 11:52:46 +09:00
Vervis.Field.Key
Vervis.Field.Person
Vervis.Field.Project
2016-02-27 14:41:36 +09:00
Vervis.Field.Repo
Vervis.Field.Role
2016-05-25 06:48:21 +09:00
Vervis.Field.Sharer
Vervis.Field.Ticket
2016-05-20 07:07:25 +09:00
Vervis.Form.Discussion
2016-05-25 06:48:21 +09:00
Vervis.Form.Group
2016-03-08 11:52:46 +09:00
Vervis.Form.Key
Vervis.Form.Person
Vervis.Form.Project
2016-02-27 14:41:36 +09:00
Vervis.Form.Repo
Vervis.Form.Role
2016-05-01 06:26:54 +09:00
Vervis.Form.Ticket
Vervis.Formatting
Vervis.Foundation
Vervis.Git
Vervis.GitOld
Vervis.Handler.Common
2016-05-20 01:58:23 +09:00
Vervis.Handler.Discussion
Vervis.Handler.Git
2016-05-25 06:48:21 +09:00
Vervis.Handler.Group
Vervis.Handler.Home
2016-03-07 09:42:06 +09:00
Vervis.Handler.Key
Vervis.Handler.Person
Vervis.Handler.Project
2016-02-27 14:41:36 +09:00
Vervis.Handler.Repo
Vervis.Handler.Repo.Darcs
Vervis.Handler.Repo.Git
Vervis.Handler.Role
2016-05-25 06:48:21 +09:00
Vervis.Handler.Sharer
2016-05-01 07:32:22 +09:00
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
2016-05-11 23:42:41 +09:00
Vervis.Paginate
Vervis.Palette
Vervis.Path
Vervis.Query
Vervis.Readme
Vervis.Render
2016-06-21 16:35:19 +09:00
Vervis.Role
Vervis.Settings
Vervis.Settings.StaticFiles
Vervis.SourceTree
2016-03-06 20:58:48 +09:00
Vervis.Ssh
Vervis.Style
2016-05-22 23:31:56 +09:00
Vervis.TicketFilter
2016-05-25 16:50:10 +09:00
Vervis.Time
2016-05-02 23:16:51 +09:00
Vervis.Widget
2016-05-18 19:10:07 +09:00
Vervis.Widget.Discussion
Vervis.Widget.Repo
2016-07-02 18:02:13 +09:00
Vervis.Widget.Role
2016-05-25 06:48:21 +09:00
Vervis.Widget.Sharer
Vervis.Wiki
-- other-modules:
2016-02-13 12:35:30 +09: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 23:28:03 +09:00
-- for parsing commands sent over SSH and Darcs patch
-- metadata
, attoparsec
, base
2016-05-08 23:28:03 +09:00
-- for hex display of Darcs patch hashes
, base16-bytestring
, base64-bytestring
-- for Data.Binary.Local
, binary
2016-03-07 09:42:06 +09: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 17:03:18 +09:00
-- for defining colors for use with diagrams
, colour
, conduit
, containers
2016-05-08 23:28:03 +09: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 20:05:56 +09:00
-- for Data.Paginate.Local
, data-default-class
-- for drawing DAGs: RBAC role inheritance, etc.
2016-07-02 17:51:29 +09: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 12:35:30 +09:00
, file-embed
2016-02-27 14:41:36 +09:00
, filepath
, formatting
2016-03-01 06:42:37 +09: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-23 04:46:46 +09: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 23:04:23 +09:00
, http-types
2016-05-26 06:10:41 +09:00
, libravatar
2016-05-08 23:28:03 +09: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 12:35:30 +09:00
, safe
, shakespeare
2016-07-02 17:51:29 +09:00
, ssh
-- for rendering diagrams
, svg-builder
-- for text drawing in 'diagrams'
, SVGFonts
, template-haskell
, text
, time
2016-02-29 23:04:23 +09:00
, transformers
-- probably should be replaced with lenses once I learn
, tuple
2016-02-13 12:35:30 +09: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 09:42:06 +09:00
, yesod-persistent
-- for reading gzipped darcs inventory via utils in
-- Data.Attoparsec.ByteString.Local
, zlib
hs-source-dirs: src
2016-02-13 12:35:30 +09: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 22:36:35 +09:00
, persistent
2016-02-13 12:35:30 +09:00
, persistent-postgresql
, resourcet
2016-02-13 12:35:30 +09:00
, monad-logger
, shakespeare
, transformers
2016-02-13 12:35:30 +09:00
, hspec >= 2.0.0
, classy-prelude
, classy-prelude-yesod
, aeson
hs-source-dirs: test
default-language: Haskell2010
2016-02-13 12:35:30 +09:00
ghc-options: -Wall
type: exitcode-stdio-1.0