Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
haskell-gargantext-prelude
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext-prelude
Commits
ff05ace0
Verified
Commit
ff05ace0
authored
Feb 22, 2024
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[refactor] update .cabal file
parent
618f711a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
57 deletions
+43
-57
cabal.project
cabal.project
+4
-0
gargantext-prelude.cabal
gargantext-prelude.cabal
+34
-57
Prelude.hs
src/Gargantext/Prelude.hs
+5
-0
No files found.
cabal.project
0 → 100644
View file @
ff05ace0
with-compiler: ghc-9.4.7
packages:
./
gargantext-prelude.cabal
View file @
ff05ace0
cabal-version:
2.0
cabal-version:
3.4
-- This file has been generated from package.yaml by hpack version 0.35.2.
--
...
...
@@ -12,7 +12,7 @@ bug-reports: https://github.com/githubuser/gargantext-prelude/issues
author: Team Hello Word / CNRS
maintainer: team@gargantext.org
copyright: 2021 HW/CNRS/Alexandre Delanoë
license: AGPL-3
license: AGPL-3
.0-or-later
license-file: LICENSE
build-type: Simple
extra-source-files:
...
...
@@ -23,7 +23,35 @@ source-repository head
type: git
location: https://github.com/githubuser/gargantext-prelude
-- common options
-- https://vrom911.github.io/blog/common-stanzas
common defaults
default-extensions:
DataKinds
DeriveGeneric
FlexibleContexts
FlexibleInstances
GADTs
GeneralizedNewtypeDeriving
ImportQualifiedPost
MultiParamTypeClasses
NamedFieldPuns
NoImplicitPrelude
OverloadedStrings
RankNTypes
RecordWildCards
StrictData
default-language: Haskell2010
build-depends:
base >=4.7 && <5
, aeson ^>= 2.2.1.0
, lens >= 5.2.2 && < 5.3
, postgresql-simple ^>= 0.6.4
, template-haskell >= 2.16.0.0 && < 2.22
library
import:
defaults
exposed-modules:
Gargantext.Prelude
Gargantext.Prelude.Clock
...
...
@@ -47,25 +75,9 @@ library
Paths_gargantext_prelude
hs-source-dirs:
src
default-extensions:
DataKinds
DeriveGeneric
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
ImportQualifiedPost
MultiParamTypeClasses
NamedFieldPuns
NoImplicitPrelude
OverloadedStrings
RankNTypes
RecordWildCards
StrictData
build-depends:
MonadRandom
, SHA
, aeson
, base >=4.7 && <5
, binary
, bytestring
, cipher-aes
...
...
@@ -79,7 +91,6 @@ library
, filepath
, formatting
, ini
, lens
, located-base
, memory
, mime-mail
...
...
@@ -87,7 +98,6 @@ library
, network
, network-uri
, password
, postgresql-simple ^>= 0.6.4
, protolude
, qrcode-core
, qrcode-juicypixels
...
...
@@ -100,34 +110,19 @@ library
, transformers
, transformers-base
, vector
default-language: Haskell2010
executable gargantext-prelude-exe
import:
defaults
main-is: Main.hs
other-modules:
Paths_gargantext_prelude
hs-source-dirs:
app
default-extensions:
DataKinds
DeriveGeneric
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
ImportQualifiedPost
MultiParamTypeClasses
NamedFieldPuns
NoImplicitPrelude
OverloadedStrings
RankNTypes
RecordWildCards
StrictData
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
MonadRandom
, SHA
, aeson
, base >=4.7 && <5
, binary
, bytestring
, cipher-aes
...
...
@@ -142,7 +137,6 @@ executable gargantext-prelude-exe
, formatting
, gargantext-prelude
, ini
, lens
, located-base
, memory
, mime-mail
...
...
@@ -162,35 +156,20 @@ executable gargantext-prelude-exe
, transformers
, transformers-base
, vector
default-language: Haskell2010
test-suite gargantext-prelude-test
import:
defaults
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Paths_gargantext_prelude
hs-source-dirs:
test
default-extensions:
DataKinds
DeriveGeneric
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
ImportQualifiedPost
MultiParamTypeClasses
NamedFieldPuns
NoImplicitPrelude
OverloadedStrings
RankNTypes
RecordWildCards
StrictData
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
MonadRandom
, SHA
, aeson
, base >=4.7 && <5
, binary
, bytestring
, cipher-aes
...
...
@@ -205,7 +184,6 @@ test-suite gargantext-prelude-test
, formatting
, gargantext-prelude
, ini
, lens
, located-base
, memory
, mime-mail
...
...
@@ -225,4 +203,3 @@ test-suite gargantext-prelude-test
, transformers
, transformers-base
, vector
default-language: Haskell2010
src/Gargantext/Prelude.hs
View file @
ff05ace0
...
...
@@ -19,13 +19,18 @@ module Gargantext.Prelude
,
module
Data
.
String
.
Conversions
,
MonadBase
(
..
)
,
module
Gargantext
.
Prelude
.
Error
,
makeLenses
,
(
^.
),
(
.~
)
,
FromJSON
(
..
),
ToJSON
(
..
),
fromJSON
,
toJSON
,
deriveJSON
)
where
-- TODO import functions optimized in Utils.Count
-- import Gargantext.Utils.Count
import
Control.Lens
(
makeLenses
,
(
^.
),
(
.~
))
import
Control.Monad
qualified
as
M
import
Control.Monad.Base
(
MonadBase
(
..
))
import
Data.Aeson
(
FromJSON
(
..
),
ToJSON
(
..
),
fromJSON
,
toJSON
)
import
Data.Aeson.TH
(
deriveJSON
)
import
Data.List
qualified
as
L
hiding
(
head
,
sum
)
import
Data.Map.Strict
(
Map
,
lookup
)
import
Data.Map.Strict
qualified
as
M
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment