Vervis/vervis.cabal

471 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-17 19:21:51 +01: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.angeley.es/s/fr33domlover/p/vervis
bug-reports: https://dev.angeley.es/s/fr33domlover/p/vervis/t
2018-03-17 19:21:51 +01: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-14 17:25:16 +02:00
CHANGELOG.md
COPYING
FEDERATION.md
INSTALL.md
README.md
cabal-version: >=1.10
source-repository head
type: darcs
location: https://dev.angeley.es/s/fr33domlover/r/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
Control.Concurrent.Local
2019-04-11 15:44:44 +02:00
Control.Concurrent.ResultShare
Control.Monad.Trans.Except.Local
Crypto.PubKey.Encoding
Crypto.PublicVerifKey
2016-05-08 16:28:03 +02:00
Darcs.Local.Repository
Data.Aeson.Encode.Pretty.ToEncoding
Data.Aeson.Local
2016-05-08 16:28:03 +02:00
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.DList.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
Data.Int.Local
Data.KeyFile
2016-02-27 06:41:36 +01:00
Data.List.Local
2019-04-11 15:44:44 +02:00
Data.List.NonEmpty.Local
Data.Maybe.Local
Data.MediaType
2016-05-10 13:05:56 +02:00
Data.Paginate.Local
Data.Patch.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
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
Diagrams.IntransitiveDAG
Formatting.CaseInsensitive
Language.Haskell.TH.Quote.Local
Network.FedURI
Network.HTTP.Client.Conduit.ActivityPub
Network.HTTP.Digest
2016-03-06 12:58:48 +01: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-17 18:30:46 +01: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-17 18:30:46 +01:00
Yesod.SessionEntity
2016-05-10 13:05:56 +02:00
Vervis.Access
Vervis.ActivityPub
Vervis.ActivityPub.Recipient
Vervis.ActorKey
Vervis.API
Vervis.Application
2016-05-25 23:10:41 +02:00
Vervis.Avatar
2016-04-24 20:48:07 +02:00
Vervis.BinaryBody
Vervis.Changes
2018-04-01 00:04:33 +02:00
Vervis.ChangeFeed
Vervis.Client
2016-06-26 10:03:18 +02:00
Vervis.Colour
2016-04-22 21:46:46 +02: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.FedURI
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.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.GraphProxy
Vervis.Handler.Client
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
Vervis.Handler.Inbox
2016-03-07 01:42:06 +01:00
Vervis.Handler.Key
Vervis.Handler.Patch
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.Hook
Vervis.KeyFile
Vervis.Migration
Vervis.Migration.Model
Vervis.Migration.TH
Vervis.Model
Vervis.Model.Entity
Vervis.Model.Group
Vervis.Model.Ident
Vervis.Model.Repo
Vervis.Model.Role
Vervis.Model.Ticket
Vervis.Model.TH
2016-08-08 16:01:06 +02:00
Vervis.Model.Workflow
2016-05-11 16:42:41 +02:00
Vervis.Paginate
Vervis.Palette
Vervis.Patch
Vervis.Path
Vervis.Query
Vervis.Readme
Vervis.RemoteActorStore
2016-06-21 09:35:19 +02:00
Vervis.Role
Vervis.Secure
Vervis.Settings
Vervis.Settings.StaticFiles
Vervis.Settings.TH
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.Project
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
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 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
2016-06-26 10:03:18 +02:00
-- for defining colors for use with diagrams
, colour
, conduit
-- For httpAPEither
, conduit-extra
, containers
2016-05-08 16:28:03 +02: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 13:05:56 +02:00
, data-default-class
, data-default-instances-bytestring
2019-04-11 15:44:44 +02:00
, data-ordlist
-- 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
, dvara
, email-validate
, email-validate-json
, esqueleto
2018-05-16 02:02:54 +02: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 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
, hashids
-- for source file highlighting
, highlighter2
, http-client-signature
, http-signature
2018-12-05 04:41:19 +01:00
, git
, hit-graph
, hit-harder
, hit-network
-- currently discarding all JS so no need for minifier
--, hjsmin
2018-12-05 04:41:19 +01:00
-- 'git' uses it for 'GitTime'
, hourglass
, yesod-http-signature
, http-client
, http-client-tls
, 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
, memory
2018-02-25 10:28:55 +01:00
, mime-mail
, monad-control
, monad-logger
-- for Database.Persist.Local
, mtl
2018-02-25 10:28:55 +01: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 04:35:30 +01:00
, safe
, shakespeare
-- for json debug highlighting in Yesod.RenderSource
, skylighting
2018-02-25 10:28:55 +01:00
, smtp-mail
2016-07-02 10:51:29 +02:00
, ssh
-- for holding actor key in a TVar
, stm
2016-07-02 10:51:29 +02:00
-- for rendering diagrams
, svg-builder
-- for text drawing in 'diagrams'
, SVGFonts
, template-haskell
, text
, these
, time
2018-04-01 05:02:35 +02:00
, time-interval
, time-interval-aeson
2018-04-01 05:02:35 +02:00
, time-units
, tls
2016-02-29 15:04:23 +01:00
, transformers
-- probably should be replaced with lenses once I learn
, tuple
-- For making git hooks executable, i.e. set file mode
, unix
-- For httpAPEither
, unliftio-core
, unliftio
2016-02-13 04:35:30 +01:00
, unordered-containers
2018-05-21 22:32:34 +02:00
, vector
2016-02-13 04:35:30 +01: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 00:04:33 +02:00
, yesod-newsfeed
, 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
2018-03-17 18:30:46 +01:00
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
2016-02-13 04:35:30 +01: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 04:35:30 +01: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 >= 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
, 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