neuron-0.2.0.0: neuron.cabal
cabal-version: 2.4
name: neuron
-- This version must be in sync with what's in Default.dhall
version: 0.2.0.0
license: BSD-3-Clause
copyright: 2020 Sridhar Ratnakumar
maintainer: srid@srid.ca
author: Sridhar Ratnakumar
category: Web
homepage: https://neuron.srid.ca
bug-reports: https://github.com/srid/neuron/issues
synopsis:
Haskell meets Zettelkasten, for your plain-text delight.
description:
neuron is a system for managing your plain-text Zettelkasten notes.
extra-source-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: https://github.com/srid/neuron
common ghc-common
ghc-options:
-Wall
-Wincomplete-record-updates
-Wincomplete-uni-patterns
common library-common
import: ghc-common
hs-source-dirs: src
default-language: Haskell2010
build-depends:
base >=4.7 && <5,
aeson,
clay -any,
containers,
directory,
exceptions,
file-embed,
gitrev,
lucid -any,
optparse-applicative,
pandoc,
path,
path-io,
relude,
rib ^>=0.8,
shake -any,
time,
text,
mmark,
mmark-ext,
modern-uri,
foldl,
filepattern,
filepath,
algebraic-graphs >= 0.5,
dhall >= 1.30,
which,
unix
library
import: library-common
exposed-modules:
Neuron.Zettelkasten
Neuron.Zettelkasten.Route
Neuron.Zettelkasten.Store
Neuron.Zettelkasten.Query
Neuron.Zettelkasten.Graph
Neuron.Zettelkasten.View
Neuron.Zettelkasten.Link
Neuron.Zettelkasten.Link.View
Neuron.Zettelkasten.Link.Action
Neuron.Zettelkasten.Markdown
Neuron.Zettelkasten.Meta
Neuron.Zettelkasten.Type
Neuron.Zettelkasten.Config
Neuron.Zettelkasten.ID
executable neuron
-- We include library modules here, so that ghcid knows to reload when they change.
import: library-common
hs-source-dirs: src-bin
main-is: Main.hs
build-depends:
base,
rib,
relude,
path,
shake,
clay,
lucid,
with-utf8
test-suite neuron-test
import: library-common
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends:
base,
relude,
hspec,
QuickCheck,
time
default-language: Haskell2010