(Morphodict) Add stack and cabal files

This commit is contained in:
Inari Listenmaa
2021-06-04 10:34:25 +08:00
parent f9ad041ac1
commit 0a84fbaf5d
3 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
name: morphodict
version: 0.1
homepage: https://github.com/GrammaticalFramework/gf-rgl/tree/master/src/morphodict
author: Aarne Ranta
category: Natural Language Processing
build-type: Simple
extra-source-files: README.md
cabal-version: >=1.10
executable MkMorphoDict
hs-source-dirs:
.
main-is: MkMorphoDict.hs
other-modules:
build-depends:
base,
containers,
safe,
gf
default-language: Haskell2010

16
src/morphodict/stack.yaml Normal file
View File

@@ -0,0 +1,16 @@
resolver: lts-12.26
packages:
- .
# so that `stack build --copy-bins` puts bin here
local-bin-path: .
extra-deps:
- gf-3.10
- cgi-3001.3.0.3 # dependency of gf
flags:
# this excludes PGF2 module in gf package
gf:
c-runtime: false

View File

@@ -0,0 +1,26 @@
# This file was autogenerated by Stack.
# You should not edit this file by hand.
# For more information, please see the documentation at:
# https://docs.haskellstack.org/en/stable/lock_files
packages:
- completed:
hackage: gf-3.10@sha256:6f851dfaab5e1f9d4f3796515b86f78806a2bb305136a902713dfc2b92d9cfb0,8477
pantry-tree:
size: 64924
sha256: 66332577ff42a42eed767f451f53266e1020b72749cdcdf7387933615d5de091
original:
hackage: gf-3.10
- completed:
hackage: cgi-3001.3.0.3@sha256:4f3768d09e4a6620642588cab2e99d83c1b6b542dad6147d0af9532170036115,2076
pantry-tree:
size: 667
sha256: 65f6fd4574cffd1e5e2490c133b7ba58fd2fea0a65d81f1fa6fe14f08025629b
original:
hackage: cgi-3001.3.0.3
snapshots:
- completed:
size: 509471
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/12/26.yaml
sha256: 95f014df58d0679b1c4a2b7bf2b652b61da8d30de5f571abb0d59015ef678646
original: lts-12.26