Commit Graph

999 Commits

Author SHA1 Message Date
Alex Vong 58352f269e
build-system/haskell: Use 'strip-store-file-name'.
See the discussion at
<https://lists.gnu.org/archive/html/guix-devel/2018-10/msg00250.html>.

* guix/build/haskell-build-system.scm (package-name-version): Remove it.
(configure): Use 'strip-store-file-name' instead of 'package-name-version'.
(setup-compiler): Likewise.
(make-ghc-package-database): Likewise.
(register): Likewise.
* gnu/packages/haskell.scm (ghc-cairo)[arguments]: Likewise.
* gnu/packages/agda.scm (agda)[arguments]: Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-10-19 23:11:07 +02:00
Ricardo Wurmus b1f9cc88c4
gnu: Add ghc-safeio.
* gnu/packages/haskell.scm (ghc-safeio): New variable.
2018-10-05 23:59:27 +02:00
Ricardo Wurmus ea202046fa
gnu: Add ghc-file-embed.
* gnu/packages/haskell.scm (ghc-file-embed): New variable.
2018-10-05 23:59:27 +02:00
Ricardo Wurmus c7e400b1ee
gnu: Add ghc-configurator.
* gnu/packages/haskell.scm (ghc-configurator): New variable.
2018-10-05 23:59:26 +02:00
Ricardo Wurmus d453b89944
gnu: Add ghc-bytestring-lexing.
* gnu/packages/haskell.scm (ghc-bytestring-lexing): New variable.
2018-10-05 23:59:26 +02:00
Ricardo Wurmus d9ee3e375c
gnu: Add ghc-inline-c-cpp.
* gnu/packages/haskell.scm (ghc-inline-c-cpp): New variable.
2018-10-05 23:59:26 +02:00
Ricardo Wurmus 9ef95a196f
gnu: Add ghc-safe-exceptions.
* gnu/packages/haskell.scm (ghc-safe-exceptions): New variable.
2018-10-05 23:59:26 +02:00
Ricardo Wurmus 88189099df
gnu: Add ghc-inline-c.
* gnu/packages/haskell.scm (ghc-inline-c): New variable.
2018-10-05 23:59:26 +02:00
Ricardo Wurmus 52f5114d01
gnu: Add ghc-raw-string-qq.
* gnu/packages/haskell.scm (ghc-raw-string-qq): New variable.
2018-10-05 23:59:26 +02:00
Ricardo Wurmus 5e6bf3e2da
gnu: Add ghc-hpack.
* gnu/packages/haskell.scm (ghc-hpack): New variable.
2018-10-05 23:59:26 +02:00
Ricardo Wurmus 320323141f
gnu: Add ghc-interpolate.
* gnu/packages/haskell.scm (ghc-interpolate): New variable.
2018-10-05 23:59:26 +02:00
Ricardo Wurmus a933cbfb61
gnu: Add ghc-conduit-algorithms.
* gnu/packages/haskell.scm (ghc-conduit-algorithms): New variable.
2018-10-05 23:59:26 +02:00
Ricardo Wurmus 71c2e3e1a1
gnu: Add ghc-pqueue.
* gnu/packages/haskell.scm (ghc-pqueue): New variable.
2018-10-05 23:59:26 +02:00
Ricardo Wurmus 4fc161b9c6
gnu: Add ghc-bzlib-conduit.
* gnu/packages/haskell.scm (ghc-bzlib-conduit): New variable.
2018-10-05 23:59:26 +02:00
Ricardo Wurmus 44c6180b3f
gnu: Add ghc-lzma-conduit.
* gnu/packages/haskell.scm (ghc-lzma-conduit): New variable.
2018-10-05 23:59:26 +02:00
Ricardo Wurmus 38757d610e
gnu: Add ghc-bindings-dsl.
* gnu/packages/haskell.scm (ghc-bindings-dsl): New variable.
2018-10-05 23:59:26 +02:00
Ricardo Wurmus 80588cfccf
gnu: Add ghc-stm-conduit.
* gnu/packages/haskell.scm (ghc-stm-conduit): New variable.
2018-10-05 23:59:26 +02:00
Ricardo Wurmus 36ec599e78
gnu: Add ghc-lzma.
* gnu/packages/haskell.scm (ghc-lzma): New variable.
2018-10-05 23:59:26 +02:00
Ricardo Wurmus d05ed20ef1
gnu: Add ghc-cereal-conduit.
* gnu/packages/haskell.scm (ghc-cereal-conduit): New variable.
2018-10-05 23:59:26 +02:00
Ricardo Wurmus 6c8197783d
gnu: Add ghc-atomic-write.
* gnu/packages/haskell.scm (ghc-atomic-write): New variable.
2018-10-05 23:59:25 +02:00
Ricardo Wurmus 562cfae330
gnu: Add ghc-chart-cairo.
* gnu/packages/haskell.scm (ghc-chart-cairo): New variable.
2018-10-05 23:59:25 +02:00
Ricardo Wurmus 7df25c77c5
gnu: Add ghc-cairo.
* gnu/packages/haskell.scm (ghc-cairo): New variable.
2018-10-05 23:59:25 +02:00
Ricardo Wurmus 279c97dba8
gnu: ghc-regex: Fix build.
* gnu/packages/haskell.scm (ghc-regex)[arguments]: Add build phase to relax
version checks.
2018-10-05 23:59:25 +02:00
Ricardo Wurmus 52891580e1
gnu: ghc-statistics: Fix build.
* gnu/packages/haskell.scm (ghc-statistics)[arguments]: Add cabal revision.
2018-10-01 12:12:23 +02:00
Ricardo Wurmus 456d76eaf6
gnu: ghc-aws: Fix build.
* gnu/packages/haskell.scm (ghc-aws)[inputs]: Add ghc-lifted-base.
2018-10-01 12:12:23 +02:00
宋文武 1abdefe573
gnu: ghc-gnuplot: Fix build.
* gnu/packages/haskell.scm (ghc-gnuplot)[inputs]: Add ghc-semigroups.
2018-10-01 12:12:23 +02:00
宋文武 70fa5899af
gnu: ghc-wave: Fix build.
* gnu/packages/haskell.scm (ghc-wave)[arguments]: Add a phase to relax
dependency constraints.
2018-10-01 12:12:23 +02:00
宋文武 eaa1f873e6
gnu: shellcheck: Update to 0.5.0.
* gnu/packages/haskell.scm (shellcheck): Update to 0.5.0.
[source]: Use tarball from hackage.
[inputs]: Add ghc-aeson.  Remove ghc-json.
2018-10-01 12:12:23 +02:00
Ricardo Wurmus c95908bb03
gnu: ghc-indents: Fix build.
* gnu/packages/haskell.scm (ghc-indents)[arguments]: Disable tests.
[native-inputs]: Add ghc-tasty and ghc-tasty-hunit.
2018-10-01 12:12:23 +02:00
Ricardo Wurmus d459e043c8
gnu: Add ghc-linear.
* gnu/packages/haskell.scm (ghc-linear): New variable.
2018-10-01 12:12:22 +02:00
Ricardo Wurmus 1d13003aa9
gnu: Add ghc-weigh.
* gnu/packages/haskell.scm (ghc-weigh): New variable.
2018-10-01 12:12:22 +02:00
Timothy Sample 88c337177f
gnu: ghc-base-compat: Update to 0.10.4.
* gnu/packages/haskell.scm (ghc-base-compat): Update to 0.10.4.
2018-10-01 12:12:22 +02:00
Timothy Sample 8fe9ab9579
gnu: Remove ghc-pandoc@1.
This old version of Pandoc no longer builds with GHC 8.4.3.

* gnu/packages/haskell-web.scm (ghc-aeson-for-pandoc-1): Remove variable.
* gnu/packages/haskell.scm (ghc-pandoc-types-for-pandoc-1,
ghc-texmath-for-pandoc-1, ghc-yaml-for-pandoc-1, ghc-hslua-for-pandoc-1,
ghc-skylighting-for-pandoc-1, ghc-doctemplates-for-pandoc-1, ghc-pandoc-1,
ghc-pandoc-citeproc-with-pandoc-1): Remove variables.
2018-10-01 12:12:22 +02:00
Timothy Sample 003ec2c8f0
gnu: ghc-pandoc-citeproc: Update to 0.14.3.1.
* gnu/packages/haskell.scm (ghc-pandoc-citeproc): Update to 0.14.3.1.
[arguments]: Add a phase to disable some failing YAML tests.
2018-10-01 12:12:22 +02:00
Timothy Sample 1b29af3d16
gnu: ghc-haddock: Update to 2.19.0.1.
* gnu/packages/haskell.scm (ghc-haddock): Update to 2.19.0.1.
[arguments]: Add a phase that deletes four test suites to avoid a
dependency on haddock-test.
[native-inputs]: Remove ghc-haddock-test.
2018-10-01 12:12:22 +02:00
Timothy Sample 6a006a11fd
gnu: ghc-pandoc: Adjust tests and test dependency constraints.
* gnu/packages/haskell.scm (ghc-pandoc)[arguments]: Add a phase to relax a
test suite dependency constraint and another to skip some failing tests.
2018-10-01 12:12:22 +02:00
Timothy Sample f548cd7254
gnu: ghc-haddock-api: Update to 2.19.0.1.
* gnu/packages/haskell.scm (ghc-haddock-api): Update to 2.19.0.1.
[arguments]: Add a phase that patches the Cabal file to allow newer
versions of Cabal and hspec.
2018-10-01 12:12:22 +02:00
Timothy Sample 082d9383d1
gnu: ghc-haddock-library: Update to 1.5.0.1.
* gnu/packages/patches/ghc-haddock-library-unbundle.patch: New file.
* gnu/packages/haskell.scm (ghc-haddock-library): Update to 1.5.0.1.
[source]: Add the patch; add a snippet to remove the bundled library.
[arguments]: Add a phase to relax test suite dependency constraints and
another to add a missing directory required for tests.
[native-inputs]: Add ghc-base-compat, ghc-optparse-applicative, and
ghc-tree-diff.
2018-10-01 12:12:22 +02:00
Timothy Sample 3b72e7e2d4
gnu: ghc-esqueleto: Update to commit b81e0d9.
* gnu/packages/haskell.scm (ghc-esqueleto): Update to commit b81e0d9.
[source]: Use git-fetch.
[arguments]: Disable Haddock and add phase to remove MySQL and PostgreSQL
test-suites.
[inputs]: Add ghc-unliftio.
[native-inputs]: Remove ghc-hunit, ghc-monad-control, and ghc-quickcheck.
2018-10-01 12:12:22 +02:00
Timothy Sample 99daa29488
gnu: ghc-aws: Update to 0.20.
* gnu/packages/haskell.scm (ghc-aws): Update to 0.20.
2018-10-01 12:12:22 +02:00
Timothy Sample c6cf0eb5fb
gnu: Add ghc-tree-diff.
* gnu/packages/haskell.scm (ghc-tree-diff): New variable.
2018-10-01 12:12:22 +02:00
Timothy Sample 7eee87e65d
gnu: ghc-persistent-sqlite: Update to 2.8.2.
* gnu/packages/haskell.scm (ghc-persistent-sqlite): Update to 2.8.2.
2018-10-01 12:12:22 +02:00
Timothy Sample 12ce5d31d1
gnu: Add ghc-rio.
* gnu/packages/haskell.scm (ghc-rio): New variable.
2018-10-01 12:12:21 +02:00
Timothy Sample 8401d3aad0
gnu: Remove old versions of ghc-doctest.
* gnu/packages/haskell.scm (ghc-doctest-0.12, ghc-doctest-0.13): Remove.
2018-10-01 12:12:21 +02:00
Timothy Sample dc676afb8c
gnu: ghc-trifecta: Update to 2.
* gnu/packages/haskell.scm (ghc-trifecta): Update to 2.
[inputs]: Remove ghc-doctest-0.13, ghc-doctest, and ghc-quickcheck.
[native-inputs]: Add ghc-doctest and ghc-quickcheck.
2018-10-01 12:12:21 +02:00
Timothy Sample e4bc57c85b
gnu: ghc-persistent-template: Update to 2.5.4.
* gnu/packages/haskell.scm (ghc-persistent-template): Update to 2.5.4.
[arguments]: Update Cabal file to r2.
2018-10-01 12:12:21 +02:00
Timothy Sample 6dde5b8f97
gnu: ghc-chart: Update to 1.9.
* gnu/packages/haskell.scm (ghc-chart): Update to 1.9.
2018-10-01 12:12:21 +02:00
Timothy Sample bc368781b6
gnu: ghc-persistent: Update to 2.8.2.
* gnu/packages/haskell.scm (ghc-persistent): Update to 2.8.2.
[inputs]: Add ghc-void.
2018-10-01 12:12:21 +02:00
Timothy Sample b9f67d10bc
gnu: ghc-lens: Update to 4.16.1.
* gnu/packages/haskell.scm (ghc-lens): Update to 4.16.1.
[arguments]: Update Cabal file to r2.
[inputs]: Remove ghc-doctest-0.13.
[native-inputs]: Add ghc-doctest.
2018-10-01 12:12:21 +02:00
Timothy Sample fbdf403189
gnu: ghc-feed: Update to 1.0.0.0.
* gnu/packages/haskell.scm (ghc-feed): Update to 1.0.0.0.
[arguments]: Update Cabal file to r4.
[inputs]: Add ghc-base-compat, ghc-safe, ghc-text, ghc-xml-conduit, and
ghc-xml-types; remove ghc-xml.
2018-10-01 12:12:21 +02:00