mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/haskell-language-server: new aport
This commit is contained in:
parent
2f1d995cb3
commit
3747cda0f5
64
testing/haskell-language-server/APKBUILD
Normal file
64
testing/haskell-language-server/APKBUILD
Normal file
@ -0,0 +1,64 @@
|
||||
# Maintainer: Alexey Yerin <yyp@disroot.org>
|
||||
pkgname=haskell-language-server
|
||||
pkgver=2.9.0.0
|
||||
pkgrel=0
|
||||
pkgdesc="Official Haskell Language Server implementation"
|
||||
url="https://github.com/haskell/haskell-language-server"
|
||||
arch="x86_64 aarch64" # limited by ghc
|
||||
license="Apache-2.0"
|
||||
makedepends="ghc cabal zlib-dev"
|
||||
source="https://hackage.haskell.org/package/haskell-language-server-$pkgver/haskell-language-server-$pkgver.tar.gz
|
||||
cabal.project.freeze"
|
||||
options="!check" # Tests fail
|
||||
|
||||
export CABAL_DIR="$srcdir/cabal"
|
||||
export PATH="$PATH:/usr/lib/llvm15/bin"
|
||||
|
||||
cabal_update() {
|
||||
cd $builddir
|
||||
rm cabal.project.freeze
|
||||
cabal v2-update
|
||||
(
|
||||
cabal v2-freeze \
|
||||
--shadow-installed-packages \
|
||||
--disable-benchmarks \
|
||||
--flags "-dynamic"
|
||||
mv cabal.project.freeze "$startdir/"
|
||||
)
|
||||
}
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
ln -sf "$srcdir/cabal.project.freeze" \
|
||||
"$builddir/cabal.project.freeze"
|
||||
|
||||
cabal v2-update
|
||||
cabal v2-build \
|
||||
--only-download \
|
||||
--disable-benchmarks \
|
||||
--flags "-dynamic"
|
||||
}
|
||||
|
||||
check() {
|
||||
cabal test
|
||||
}
|
||||
|
||||
build() {
|
||||
cabal v2-build haskell-language-server:exes \
|
||||
--jobs=${JOBS:-1} \
|
||||
--prefix=/usr \
|
||||
--disable-benchmarks \
|
||||
--flags "-dynamic" \
|
||||
--enable-relocatable
|
||||
}
|
||||
|
||||
package() {
|
||||
for exe in haskell-language-server haskell-language-server-wrapper; do
|
||||
install -Dm755 "$(cabal list-bin $exe)" "$pkgdir"/usr/bin/$exe
|
||||
done
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
ecf5a5d895eff1e8d383c4b6870d91b094f2d77b4b695caadb97935a280a558fea0d133935edb0811edeb60a4e5bc646a0290181002c86675f4c1d1ca335b5ab haskell-language-server-2.9.0.0.tar.gz
|
||||
0b49931fecadb3591cd2591daea96a85dc13c556b2ed791a162ae045d563b06efe182a6b99fde892faa4fcb47a2142b2517deff394a3409a4c286881ac3df488 cabal.project.freeze
|
||||
"
|
372
testing/haskell-language-server/cabal.project.freeze
Normal file
372
testing/haskell-language-server/cabal.project.freeze
Normal file
@ -0,0 +1,372 @@
|
||||
active-repositories: hackage.haskell.org:merge
|
||||
constraints: any.Cabal ==3.10.2.0,
|
||||
any.Cabal-syntax ==3.10.2.0,
|
||||
any.Diff ==0.5,
|
||||
any.Glob ==0.10.2,
|
||||
any.HsYAML ==0.2.1.4,
|
||||
HsYAML -exe,
|
||||
any.HsYAML-aeson ==0.2.0.1,
|
||||
HsYAML-aeson -exe,
|
||||
any.ListLike ==4.7.8.2,
|
||||
any.MemoTrie ==0.6.11,
|
||||
MemoTrie -examples,
|
||||
any.MonadRandom ==0.6,
|
||||
any.OneTuple ==0.4.2,
|
||||
any.Only ==0.1,
|
||||
any.QuickCheck ==2.15.0.1,
|
||||
QuickCheck -old-random +templatehaskell,
|
||||
any.StateVar ==1.2.2,
|
||||
any.adjunctions ==4.4.2,
|
||||
any.aeson ==2.2.3.0,
|
||||
aeson +ordered-keymap,
|
||||
any.aeson-pretty ==0.8.10,
|
||||
aeson-pretty -lib-only,
|
||||
any.alex ==3.5.1.0,
|
||||
any.algebraic-graphs ==0.7,
|
||||
any.ansi-terminal ==1.0.2,
|
||||
ansi-terminal -example,
|
||||
any.ansi-terminal-types ==0.11.5,
|
||||
any.ansi-wl-pprint ==0.6.9,
|
||||
ansi-wl-pprint -example,
|
||||
any.apply-refact ==0.14.0.0,
|
||||
any.array ==0.5.6.0,
|
||||
any.assoc ==1.1.1,
|
||||
assoc -tagged,
|
||||
any.async ==2.2.5,
|
||||
async -bench,
|
||||
any.attoparsec ==0.14.4,
|
||||
attoparsec -developer,
|
||||
any.attoparsec-aeson ==2.2.2.0,
|
||||
any.base ==4.19.1.0,
|
||||
any.base-compat ==0.14.0,
|
||||
any.base-orphans ==0.9.2,
|
||||
any.base16-bytestring ==1.0.2.0,
|
||||
any.base64 ==1.0,
|
||||
any.bifunctors ==5.6.2,
|
||||
bifunctors +tagged,
|
||||
any.binary ==0.8.9.1,
|
||||
any.bitvec ==1.1.5.0,
|
||||
bitvec +simd,
|
||||
any.blaze-builder ==0.4.2.3,
|
||||
any.blaze-html ==0.9.2.0,
|
||||
any.blaze-markup ==0.8.3.0,
|
||||
any.blaze-textual ==0.2.3.1,
|
||||
blaze-textual -developer -integer-simple +native,
|
||||
any.boring ==0.2.2,
|
||||
boring +tagged,
|
||||
any.bytestring ==0.12.1.0,
|
||||
any.cabal-doctest ==1.0.10,
|
||||
any.call-stack ==0.4.0,
|
||||
any.case-insensitive ==1.2.1.0,
|
||||
any.cereal ==0.5.8.3,
|
||||
cereal -bytestring-builder,
|
||||
any.character-ps ==0.1,
|
||||
any.charset ==0.3.10,
|
||||
any.clay ==0.15.0,
|
||||
any.clock ==0.8.4,
|
||||
clock -llvm,
|
||||
any.cmdargs ==0.10.22,
|
||||
cmdargs +quotation -testprog,
|
||||
any.co-log-core ==0.3.2.2,
|
||||
any.colour ==2.3.6,
|
||||
any.colourista ==0.1.0.2,
|
||||
any.commutative-semigroups ==0.2.0.1,
|
||||
any.comonad ==5.0.8,
|
||||
comonad +containers +distributive +indexed-traversable,
|
||||
any.conduit ==1.3.6,
|
||||
any.conduit-extra ==1.3.6,
|
||||
any.conduit-parse ==0.2.1.1,
|
||||
conduit-parse -enable-hlint-test,
|
||||
any.constraints ==0.14.2,
|
||||
any.constraints-extras ==0.4.0.1,
|
||||
constraints-extras +build-readme,
|
||||
any.containers ==0.6.8,
|
||||
any.contravariant ==1.5.5,
|
||||
contravariant +semigroups +statevar +tagged,
|
||||
any.cpphs ==1.20.9.1,
|
||||
cpphs -old-locale,
|
||||
any.cryptohash-sha1 ==0.11.101.0,
|
||||
any.data-default ==0.7.1.1,
|
||||
any.data-default-class ==0.1.2.0,
|
||||
any.data-default-instances-containers ==0.0.1,
|
||||
any.data-default-instances-dlist ==0.0.1,
|
||||
any.data-default-instances-old-locale ==0.0.1,
|
||||
any.data-fix ==0.3.4,
|
||||
any.deepseq ==1.5.0.0,
|
||||
any.deferred-folds ==0.9.18.6,
|
||||
any.dependent-map ==0.4.0.0,
|
||||
any.dependent-sum ==0.7.2.0,
|
||||
any.deriving-aeson ==0.2.9,
|
||||
any.dir-traverse ==0.2.3.0,
|
||||
any.direct-sqlite ==2.3.29,
|
||||
direct-sqlite +dbstat +fulltextsearch +haveusleep +json1 -mathfunctions -systemlib +urifilenames,
|
||||
any.directory ==1.3.8.1,
|
||||
any.distributive ==0.6.2.1,
|
||||
distributive +semigroups +tagged,
|
||||
any.dlist ==1.0,
|
||||
dlist -werror,
|
||||
any.enummapset ==0.7.3.0,
|
||||
enummapset -debug,
|
||||
any.exceptions ==0.10.7,
|
||||
any.extensions ==0.1.0.1,
|
||||
extensions +executable,
|
||||
any.extra ==1.7.16,
|
||||
any.fail ==4.9.0.0,
|
||||
any.file-embed ==0.0.16.0,
|
||||
any.filemanip ==0.3.6.3,
|
||||
any.filepath ==1.4.200.1,
|
||||
any.filepattern ==0.1.3,
|
||||
any.filtrable ==0.1.6.0,
|
||||
filtrable +containers,
|
||||
any.fingertree ==0.1.5.0,
|
||||
any.floskell ==0.11.1,
|
||||
any.fmlist ==0.9.4,
|
||||
any.focus ==1.0.3.2,
|
||||
any.foldl ==1.4.17,
|
||||
any.fourmolu ==0.15.0.0,
|
||||
fourmolu -dev +internal-bundle-fixities,
|
||||
any.free ==5.2,
|
||||
any.fuzzy ==0.1.1.0,
|
||||
any.generic-arbitrary ==1.0.1,
|
||||
any.generic-deriving ==1.14.5,
|
||||
generic-deriving +base-4-9,
|
||||
any.generic-lens ==2.2.2.0,
|
||||
any.generic-lens-core ==2.2.1.0,
|
||||
any.generically ==0.1.1,
|
||||
any.ghc ==9.8.2,
|
||||
any.ghc-bignum ==1.3,
|
||||
any.ghc-boot ==9.8.2,
|
||||
any.ghc-boot-th ==9.8.2,
|
||||
any.ghc-exactprint ==1.8.0.0,
|
||||
ghc-exactprint -dev -roundtrip,
|
||||
any.ghc-heap ==9.8.2,
|
||||
any.ghc-lib-parser ==9.8.2.20240223,
|
||||
ghc-lib-parser +threaded-rts,
|
||||
any.ghc-lib-parser-ex ==9.8.0.2,
|
||||
ghc-lib-parser-ex -auto -no-ghc-lib,
|
||||
any.ghc-paths ==0.1.0.12,
|
||||
any.ghc-prim ==0.11.0,
|
||||
any.ghc-trace-events ==0.1.2.9,
|
||||
any.ghci ==9.8.2,
|
||||
any.ghcide ==2.9.0.0,
|
||||
ghcide +executable -pedantic +test-exe,
|
||||
any.githash ==0.1.7.0,
|
||||
any.gitrev ==1.3.1,
|
||||
any.haddock-library ==1.11.0,
|
||||
any.happy ==2.0.2,
|
||||
any.happy-lib ==2.0.2,
|
||||
any.hashable ==1.4.7.0,
|
||||
hashable -arch-native +integer-gmp -random-initial-seed,
|
||||
haskell-language-server +alternatenumberformat +cabal +cabalfmt +cabalgild +callhierarchy +changetypesignature +class +coderange -dynamic +eval +explicitfields +explicitfixity +floskell +fourmolu +gadt +ghc-lib +hlint -ignore-plugins-ghc-bounds +importlens -isolatecabalfmttests -isolatecabalgildtests +modulename +notes +ormolu +overloadedrecorddot -pedantic +pragmas +qualifyimportednames +refactor +rename +retrie +semantictokens +splice +stan +stylishhaskell,
|
||||
any.haskell-src-exts ==1.23.1,
|
||||
any.heaps ==0.4,
|
||||
any.hie-bios ==0.14.0,
|
||||
any.hie-compat ==0.3.1.2,
|
||||
any.hiedb ==0.6.0.1,
|
||||
any.hlint ==3.8,
|
||||
hlint +ghc-lib +gpl -hsyaml +threaded,
|
||||
any.hls-graph ==2.9.0.0,
|
||||
hls-graph -embed-files -pedantic -stm-stats,
|
||||
any.hls-plugin-api ==2.9.0.0,
|
||||
hls-plugin-api -pedantic +use-fingertree,
|
||||
any.hls-test-utils ==2.9.0.0,
|
||||
hls-test-utils -pedantic,
|
||||
any.hpc ==0.7.0.0,
|
||||
any.hsc2hs ==0.68.10,
|
||||
hsc2hs -in-ghc-tree,
|
||||
any.hscolour ==1.25,
|
||||
any.hw-fingertree ==0.1.1.0,
|
||||
any.hw-prim ==0.6.3.2,
|
||||
hw-prim -bounds-checking-enabled,
|
||||
any.implicit-hie ==0.1.4.0,
|
||||
implicit-hie +executable,
|
||||
any.indexed-profunctors ==0.1.1.1,
|
||||
any.indexed-traversable ==0.1.4,
|
||||
any.indexed-traversable-instances ==0.1.2,
|
||||
any.integer-conversion ==0.1.1,
|
||||
any.integer-gmp ==1.1,
|
||||
any.integer-logarithms ==1.0.3.1,
|
||||
integer-logarithms -check-bounds +integer-gmp,
|
||||
any.invariant ==0.6.3,
|
||||
any.js-dgtable ==0.5.2,
|
||||
any.js-flot ==0.8.3,
|
||||
any.js-jquery ==3.3.1,
|
||||
any.kan-extensions ==5.2.6,
|
||||
any.lens ==5.3.2,
|
||||
lens -benchmark-uniplate -dump-splices +inlining -j +test-hunit +test-properties +test-templates +trustworthy,
|
||||
any.lens-aeson ==1.2.3,
|
||||
any.libyaml ==0.1.4,
|
||||
libyaml -no-unicode -system-libyaml,
|
||||
any.libyaml-clib ==0.2.5,
|
||||
any.list-t ==1.0.5.7,
|
||||
any.logict ==0.8.1.0,
|
||||
any.lsp ==2.7.0.0,
|
||||
lsp -demo,
|
||||
any.lsp-test ==0.17.1.0,
|
||||
any.lsp-types ==2.3.0.0,
|
||||
lsp-types -force-ospath,
|
||||
any.lucid ==2.11.20230408,
|
||||
any.megaparsec ==9.6.1,
|
||||
megaparsec -dev,
|
||||
any.microaeson ==0.1.0.2,
|
||||
any.mmap ==0.5.9,
|
||||
mmap -mmaptest,
|
||||
any.mmorph ==1.2.0,
|
||||
any.mod ==0.2.0.1,
|
||||
mod +semirings +vector,
|
||||
any.monad-control ==1.0.3.1,
|
||||
any.monad-dijkstra ==0.1.1.5,
|
||||
any.mono-traversable ==1.0.20.0,
|
||||
any.monoid-subclasses ==1.2.5.1,
|
||||
any.mtl ==2.3.1,
|
||||
any.neat-interpolation ==0.5.1.4,
|
||||
any.network ==3.2.4.0,
|
||||
network -devel,
|
||||
any.network-uri ==2.6.4.2,
|
||||
any.newtype-generics ==0.6.2,
|
||||
any.old-locale ==1.0.0.7,
|
||||
any.old-time ==1.1.0.4,
|
||||
any.opentelemetry ==0.8.0,
|
||||
any.optparse-applicative ==0.17.1.0,
|
||||
optparse-applicative +process,
|
||||
any.optparse-simple ==0.1.1.4,
|
||||
optparse-simple -build-example,
|
||||
any.ordered-containers ==0.2.4,
|
||||
any.ormolu ==0.7.4.0,
|
||||
ormolu -dev +internal-bundle-fixities,
|
||||
any.os-string ==2.0.6,
|
||||
any.parallel ==3.2.2.0,
|
||||
any.parsec ==3.1.17.0,
|
||||
any.parser-combinators ==1.3.0,
|
||||
parser-combinators -dev,
|
||||
any.parsers ==0.12.11,
|
||||
parsers +attoparsec +binary +parsec,
|
||||
any.polyparse ==1.13,
|
||||
any.pretty ==1.1.3.6,
|
||||
any.pretty-simple ==4.1.2.0,
|
||||
pretty-simple -buildexample +buildexe,
|
||||
any.prettyprinter ==1.7.1,
|
||||
prettyprinter -buildreadme +text,
|
||||
any.prettyprinter-ansi-terminal ==1.1.3,
|
||||
any.primes ==0.2.1.0,
|
||||
any.primitive ==0.9.0.0,
|
||||
any.primitive-extras ==0.10.2,
|
||||
any.primitive-unlifted ==2.1.0.0,
|
||||
any.process ==1.6.18.0,
|
||||
any.process-extras ==0.7.4,
|
||||
any.profunctors ==5.6.2,
|
||||
any.psqueues ==0.2.8.0,
|
||||
any.quickcheck-instances ==0.3.31,
|
||||
any.random ==1.2.1.2,
|
||||
any.random-shuffle ==0.0.4,
|
||||
any.refact ==0.3.0.2,
|
||||
any.reflection ==2.1.8,
|
||||
reflection -slow +template-haskell,
|
||||
any.regex ==1.1.0.2,
|
||||
any.regex-applicative ==0.3.4,
|
||||
any.regex-base ==0.94.0.2,
|
||||
any.regex-pcre-builtin ==0.95.2.3.8.44,
|
||||
any.regex-tdfa ==1.3.2.2,
|
||||
regex-tdfa +doctest -force-o2,
|
||||
any.relude ==1.2.1.0,
|
||||
any.resourcet ==1.3.0,
|
||||
any.retrie ==1.2.3,
|
||||
retrie +buildexecutable,
|
||||
any.row-types ==1.0.1.2,
|
||||
any.rts ==1.0.2,
|
||||
any.safe ==0.3.21,
|
||||
any.safe-exceptions ==0.1.7.4,
|
||||
any.scientific ==0.3.8.0,
|
||||
scientific -integer-simple,
|
||||
any.selective ==0.7.0.1,
|
||||
any.semaphore-compat ==1.0.0,
|
||||
any.semialign ==1.3.1,
|
||||
semialign +semigroupoids,
|
||||
any.semigroupoids ==6.0.1,
|
||||
semigroupoids +comonad +containers +contravariant +distributive +tagged +unordered-containers,
|
||||
any.semigroups ==0.20,
|
||||
semigroups +binary +bytestring -bytestring-builder +containers +deepseq +hashable +tagged +template-haskell +text +transformers +unordered-containers,
|
||||
any.semirings ==0.7,
|
||||
semirings +containers +unordered-containers,
|
||||
any.shake ==0.19.8,
|
||||
shake -cloud -embed-files -portable +threaded,
|
||||
any.slist ==0.2.1.0,
|
||||
any.some ==1.0.6,
|
||||
some +newtype-unsafe,
|
||||
any.sorted-list ==0.2.2.0,
|
||||
any.split ==0.2.5,
|
||||
any.splitmix ==0.1.0.5,
|
||||
splitmix -optimised-mixer,
|
||||
any.sqlite-simple ==0.4.19.0,
|
||||
any.stan ==0.1.3.0,
|
||||
any.stm ==2.5.2.1,
|
||||
any.stm-containers ==1.2.1,
|
||||
any.stm-hamt ==1.2.1,
|
||||
any.streaming-commons ==0.2.2.6,
|
||||
streaming-commons -use-bytestring-builder,
|
||||
any.strict ==0.5.1,
|
||||
any.stylish-haskell ==0.14.6.0,
|
||||
stylish-haskell +ghc-lib,
|
||||
any.syb ==0.7.2.4,
|
||||
any.tagged ==0.8.8,
|
||||
tagged +deepseq +transformers,
|
||||
any.tasty ==1.5,
|
||||
tasty +unix,
|
||||
any.tasty-expected-failure ==0.12.3,
|
||||
any.tasty-golden ==2.3.5,
|
||||
tasty-golden -build-example,
|
||||
any.tasty-hunit ==0.10.2,
|
||||
any.tasty-quickcheck ==0.11,
|
||||
any.tasty-rerun ==1.1.19,
|
||||
any.template-haskell ==2.21.0.0,
|
||||
any.temporary ==1.3,
|
||||
any.terminal-size ==0.3.4,
|
||||
any.text ==2.1.1,
|
||||
any.text-iso8601 ==0.1.1,
|
||||
any.text-rope ==0.2,
|
||||
text-rope -debug,
|
||||
any.text-short ==0.1.6,
|
||||
text-short -asserts,
|
||||
any.th-abstraction ==0.7.0.0,
|
||||
any.th-compat ==0.1.5,
|
||||
any.th-env ==0.1.1,
|
||||
any.these ==1.2.1,
|
||||
any.time ==1.12.2,
|
||||
any.time-compat ==1.9.7,
|
||||
any.time-locale-compat ==0.1.1.5,
|
||||
time-locale-compat -old-locale,
|
||||
any.tomland ==1.3.3.3,
|
||||
tomland -build-play-tomland -build-readme,
|
||||
any.transformers ==0.6.1.0,
|
||||
any.transformers-base ==0.4.6,
|
||||
transformers-base +orphaninstances,
|
||||
any.transformers-compat ==0.7.2,
|
||||
transformers-compat -five +five-three -four +generic-deriving +mtl -three -two,
|
||||
any.trial ==0.0.0.0,
|
||||
any.trial-optparse-applicative ==0.0.0.0,
|
||||
any.trial-tomland ==0.0.0.0,
|
||||
any.typed-process ==0.2.12.0,
|
||||
any.unbounded-delays ==0.1.1.1,
|
||||
any.uniplate ==1.6.13,
|
||||
any.unix ==2.8.4.0,
|
||||
any.unix-compat ==0.7.2,
|
||||
any.unliftio ==0.2.25.0,
|
||||
any.unliftio-core ==0.2.1.0,
|
||||
any.unordered-containers ==0.2.20,
|
||||
unordered-containers -debug,
|
||||
any.utf8-string ==1.0.2,
|
||||
any.uuid-types ==1.0.6,
|
||||
any.validation-selective ==0.2.0.0,
|
||||
any.vector ==0.13.1.0,
|
||||
vector +boundschecks -internalchecks -unsafechecks -wall,
|
||||
any.vector-algorithms ==0.9.0.2,
|
||||
vector-algorithms +bench +boundschecks -internalchecks -llvm +properties -unsafechecks,
|
||||
any.vector-stream ==0.1.0.1,
|
||||
any.void ==0.7.3,
|
||||
void -safe,
|
||||
any.witherable ==0.5,
|
||||
any.yaml ==0.11.11.2,
|
||||
yaml +no-examples +no-exe,
|
||||
any.zlib ==0.7.1.0,
|
||||
zlib -bundled-c-zlib +non-blocking-ffi +pkg-config
|
||||
index-state: hackage.haskell.org 2024-10-08T09:36:39Z
|
Loading…
Reference in New Issue
Block a user