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

476 lines
18 KiB
Text
Raw Normal View History

name: vervis
version: 0.1
synopsis: Federated project hosting platform
description:
Vervis a decentralized software project hosting web application, which
federates using ActivityPub and ForgeFed.
2018-03-18 03:21:51 +09:00
.
Most of the source code is in the public domain using the CC0 public domain
dedication, but the application as a whole has GPL dependencies, and is
released under the AGPL 3 license.
homepage: https://dev.openheart.work/s/fr33domlover/p/vervis
bug-reports: https://dev.openheart.work/s/fr33domlover/p/vervis/t
2018-03-18 03:21:51 +09:00
license: OtherLicense
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
2018-05-15 00:25:16 +09:00
CHANGELOG.md
COPYING
FEDERATION.md
INSTALL.md
README.md
cabal-version: >=1.10
source-repository head
type: darcs
location: https://dev.openheart.work/s/fr33domlover/r/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
Control.Concurrent.Local
2019-04-11 22:44:44 +09:00
Control.Concurrent.ResultShare
Control.Monad.Trans.Except.Local
Crypto.PubKey.Encoding
Crypto.PublicVerifKey
2016-05-08 23:28:03 +09:00
Darcs.Local.Repository
Data.Aeson.Encode.Pretty.ToEncoding
Data.Aeson.Local
2016-05-08 23:28:03 +09:00
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.DList.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
Data.Graph.DirectedAcyclic.View.Tree
Data.Graph.Inductive.Query.Cycle
2016-06-21 07:50:16 +09:00
Data.Graph.Inductive.Query.Layer
Data.Graph.Inductive.Query.Path
2016-07-14 09:39:00 +09:00
Data.Graph.Inductive.Query.TransRed
2016-06-21 07:50:16 +09:00
Data.HashMap.Lazy.Local
Data.Hourglass.Local
Data.Int.Local
Data.KeyFile
2016-02-27 14:41:36 +09:00
Data.List.Local
2019-04-11 22:44:44 +09:00
Data.List.NonEmpty.Local
Data.Maybe.Local
Data.MediaType
2016-05-10 20:05:56 +09:00
Data.Paginate.Local
Data.Patch.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
Data.Tuple.Local
Database.Esqueleto.Local
Database.Persist.Class.Local
Database.Persist.JSON
Database.Persist.Sql.Local
Database.Persist.Local
Database.Persist.Local.Class.PersistEntityHierarchy
Database.Persist.Local.RecursionDoc
Development.PatchMediaType
Development.PatchMediaType.JSON
Development.PatchMediaType.Persist
Diagrams.IntransitiveDAG
Formatting.CaseInsensitive
Language.Haskell.TH.Quote.Local
Network.FedURI
Network.HTTP.Client.Conduit.ActivityPub
Network.HTTP.Digest
2016-03-06 20:58:48 +09:00
Network.SSH.Local
Text.Blaze.Local
Text.Display
Text.Email.Local
Text.FilePath.Local
Text.Jasmine.Local
Web.ActivityAccess
Web.ActivityPub
Web.Hashids.Local
Web.PathPieces.Local
Yesod.ActivityPub
2018-03-18 02:30:46 +09:00
Yesod.Auth.Unverified
Yesod.Auth.Unverified.Creds
Yesod.Auth.Unverified.Internal
Yesod.FedURI
Yesod.Hashids
Yesod.MonadSite
Yesod.Paginate.Local
Yesod.Persist.Local
Yesod.RenderSource
2018-03-18 02:30:46 +09:00
Yesod.SessionEntity
2016-05-10 20:05:56 +09:00
Vervis.Access
Vervis.ActivityPub
Vervis.ActivityPub.Recipient
Vervis.ActorKey
Vervis.API
Vervis.Application
2016-05-26 06:10:41 +09:00
Vervis.Avatar
2016-04-25 03:48:07 +09:00
Vervis.BinaryBody
Vervis.Changes
2018-04-01 07:04:33 +09:00
Vervis.ChangeFeed
Vervis.Client
2016-06-26 17:03:18 +09:00
Vervis.Colour
2016-04-23 04:46:46 +09:00
Vervis.Content
Vervis.Darcs
Vervis.Discussion
Vervis.Federation
Vervis.Federation.Auth
Vervis.Federation.Discussion
Vervis.Federation.Offer
Vervis.Federation.Push
Vervis.Federation.Ticket
Vervis.Federation.Util
Vervis.FedURI
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
Vervis.Field.Workflow
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.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.Form.Workflow
Vervis.Formatting
Vervis.Foundation
Vervis.Git
Vervis.GraphProxy
Vervis.Handler.Client
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
Vervis.Handler.Inbox
2016-03-07 09:42:06 +09:00
Vervis.Handler.Key
Vervis.Handler.Patch
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.Handler.Workflow
Vervis.Hook
Vervis.KeyFile
Vervis.Migration
Vervis.Migration.Model
Vervis.Migration.TH
Vervis.Model
Vervis.Model.Entity
Vervis.Model.Group
Vervis.Model.Ident
Vervis.Model.Role
Vervis.Model.Ticket
Vervis.Model.TH
2016-08-08 23:01:06 +09:00
Vervis.Model.Workflow
2016-05-11 23:42:41 +09:00
Vervis.Paginate
Vervis.Palette
Vervis.Patch
Vervis.Path
Vervis.Query
Vervis.Readme
Vervis.RemoteActorStore
2016-06-21 16:35:19 +09:00
Vervis.Role
Vervis.Secure
Vervis.Settings
Vervis.Settings.StaticFiles
Vervis.Settings.TH
Vervis.SourceTree
2016-03-06 20:58:48 +09:00
Vervis.Ssh
Vervis.Style
2016-08-04 16:36:24 +09:00
Vervis.Ticket
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.Project
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.Widget.Ticket
Vervis.Widget.Workflow
Vervis.Wiki
Vervis.WorkItem
-- other-modules:
2016-02-13 12:35:30 +09:00
default-extensions: TemplateHaskell
QuasiQuotes
OverloadedStrings
MultiParamTypeClasses
TypeFamilies
GADTs
GeneralizedNewtypeDeriving
FlexibleContexts
FlexibleInstances
EmptyDataDecls
NoMonomorphismRestriction
DeriveDataTypeable
ViewPatterns
TupleSections
RecordWildCards
build-depends: aeson
-- For activity JSOn display in /inbox test page
, aeson-pretty
-- for encoding and decoding of crypto public keys
, asn1-encoding
, asn1-types
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
2016-06-26 17:03:18 +09:00
-- for defining colors for use with diagrams
, colour
, conduit
-- For httpAPEither
, conduit-extra
, containers
2016-05-08 23:28:03 +09:00
, cryptonite
-- for Storage.Hashed because hashed-storage seems
-- unmaintained and darcs has its own copy
, darcs
, darcs-lights
, darcs-rev
, data-default
2016-05-10 20:05:56 +09:00
, data-default-class
, data-default-instances-bytestring
2019-04-11 22:44:44 +09:00
, data-ordlist
-- 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
, dvara
, email-validate
, email-validate-json
, esqueleto
2018-05-16 09:02:54 +09:00
, exceptions
, 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
, hashids
-- for source file highlighting
, highlighter2
, http-client-signature
, http-signature
2018-12-05 12:41:19 +09:00
, git
, hit-graph
, hit-harder
, hit-network
-- currently discarding all JS so no need for minifier
--, hjsmin
2018-12-05 12:41:19 +09:00
-- 'git' uses it for 'GitTime'
, hourglass
, yesod-http-signature
, http-client
, http-client-tls
, 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
, memory
2018-02-25 18:28:55 +09:00
, mime-mail
, monad-control
, monad-logger
-- for Database.Persist.Local
, mtl
2018-02-25 18:28:55 +09:00
, network
, network-uri
, pandoc
, pandoc-types
-- for PathPiece instance for CI, Web.PathPieces.Local
, path-pieces
, patience
, pem
, persistent
, persistent-email-address
, persistent-graph
, persistent-migration
, persistent-postgresql
, persistent-template
, process
-- for generating hashids salt
, random
-- for Database.Persist.Local
, resourcet
2016-02-13 12:35:30 +09:00
, safe
, shakespeare
-- for json debug highlighting in Yesod.RenderSource
, skylighting
2018-02-25 18:28:55 +09:00
, smtp-mail
2016-07-02 17:51:29 +09:00
, ssh
-- for holding actor key in a TVar
, stm
2016-07-02 17:51:29 +09:00
-- for rendering diagrams
, svg-builder
-- for text drawing in 'diagrams'
, SVGFonts
, template-haskell
, text
, these
, time
2018-04-01 12:02:35 +09:00
, time-interval
, time-interval-aeson
2018-04-01 12:02:35 +09:00
, time-units
, tls
2016-02-29 23:04:23 +09:00
, transformers
-- probably should be replaced with lenses once I learn
, tuple
, typed-process
-- For making git hooks executable, i.e. set file mode
, unix
-- For httpAPEither
, unliftio-core
, unliftio
2016-02-13 12:35:30 +09:00
, unordered-containers
2018-05-22 05:32:34 +09:00
, vector
2016-02-13 12:35:30 +09:00
, wai
, wai-extra
, wai-logger
, warp
-- for encoding and decoding of crypto public keys
, x509
-- for parsing darcs apply's changes XML from env var in
-- the vervis post-apply hook program
, xml
, xss-sanitize
, yaml
, yesod
, yesod-auth
, yesod-auth-account
, yesod-core
, yesod-form
, yesod-mail-send
2018-04-01 07:04:33 +09:00
, yesod-newsfeed
, 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
2018-03-18 02:30:46 +09:00
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
2016-02-13 12:35:30 +09:00
if flag(library-only)
buildable: False
executable vervis-post-receive
main-is: main.hs
build-depends: base, vervis
hs-source-dirs: hook-git
default-language: Haskell2010
ghc-options: -Wall
executable vervis-post-apply
main-is: main.hs
build-depends: base, vervis
hs-source-dirs: hook-darcs
default-language: Haskell2010
ghc-options: -Wall
2016-02-13 12:35:30 +09:00
test-suite test
main-is: Spec.hs
default-extensions: TemplateHaskell
QuasiQuotes
OverloadedStrings
CPP
MultiParamTypeClasses
TypeFamilies
GADTs
GeneralizedNewtypeDeriving
FlexibleContexts
FlexibleInstances
EmptyDataDecls
NoMonomorphismRestriction
DeriveDataTypeable
ViewPatterns
TupleSections
build-depends: base
, vervis
, yesod-test
2016-02-13 12:35:30 +09:00
, 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
, aeson
hs-source-dirs: test
default-language: Haskell2010
2016-07-05 21:36:40 +09: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