Commit graph

65101 commits

Author SHA1 Message Date
Ricardo Wurmus
64041c6c25
gnu: ghc-crypto-api-tests: Add "doc" output.
* gnu/packages/haskell-crypto.scm (ghc-crypto-api-tests)[outputs]: Add "doc"
output next to "out" and "static".
2020-08-13 16:44:56 +02:00
Ricardo Wurmus
d65a302546
gnu: ghc-hspec: Add "doc" output.
* gnu/packages/haskell-check.scm (ghc-hspec)[outputs]: Add "doc" output next
to "out" and "static".
2020-08-13 16:44:56 +02:00
Ricardo Wurmus
f737d3ddd8
gnu: ghc-8.6: Remove unnecessary references.
* gnu/packages/haskell.scm (ghc-8.6)[arguments]: Add phase
"remove-unnecessary-references" to remove references to build tools and
inter-output references.
2020-08-13 16:44:56 +02:00
Ricardo Wurmus
534d6caa0b
gnu: Add "static" output to Haskell packages with custom outputs.
All these packages have non-standard outputs.  As a result the build system
cannot automatically add the "static" output, so we do this manually.

* gnu/packages/haskell-check.scm (ghc-quickcheck, ghc-hunit)[outputs]: Add
"static" output.
* gnu/packages/haskell-web.scm (ghc-http)[outputs]: Same.
* gnu/packages/haskell-xyz.scm (ghc-case-insensitive, ghc-fgl, ghc-hashable,
ghc-network, ghc-network-uri, ghc-parallel, ghc-paths, ghc-primitive,
ghc-random, ghc-split, ghc-syb, ghc-tf-random, ghc-unordered-containers,
ghc-vector, ghc-zlib)[outputs]: Same.
2020-08-13 16:44:56 +02:00
Ricardo Wurmus
aa1a75cc0e
build-system/haskell: Do not pass "--bindir" during configure.
The "--bindir" option is not as useful as it seems as the configured location
is embedded in the outputs.  Instead of using "--bindir" it seems better to
build a statically linked binary and move the binary to its own output to
avoid references between the "out" and "bin" outputs.

* guix/build/haskell-build-system.scm (configure): Do not pass "--bindir".
2020-08-13 16:44:56 +02:00
Timothy Sample
54a5fd0791
build-system/haskell: Add 'extra-directories' keyword.
See <https://bugs.gnu.org/39309>.

* guix/build-system/haskell.scm (lower): Include the transitive
propagated inputs of 'extra-directories' inputs.
(haskell-build): Add the 'extra-directories' keyword and pass it through
to the builder.
* guix/build/haskell-build-system.scm (configure): Use it to select
which inputs get passed via 'extra-include-dirs' and 'extra-lib-dirs' to
Cabal.
* gnu/packages/haskell-xyz.scm (ghc-alsa-core, ghc-hmatrix,
ghc-hmatrix-gsl, ghc-hslua, ghc-iwlib, ghc-libyaml, ghc-ncurses,
ghc-openglraw, ghc-x11, ghc-x11-xft, ghc-zlib): Set 'extra-directories'.
* gnu/packages/haskell-crypto.scm (ghc-digest, ghc-hsopenssl): Likewise.
2020-08-13 16:44:52 +02:00
Ricardo Wurmus
3f7922cbf5
haskell-build-system: register: Remove references to the doc output.
* guix/build/haskell-build-system.scm (register): Strip references to the doc
output from the generated package config files; move the haddock files from
the "doc" output to the "lib" output.
2020-08-12 14:45:49 +02:00
Ricardo Wurmus
75bda3c648
haskell-build-system: register: Respect lib output.
* guix/build/haskell-build-system.scm (register): Use lib output if it exists.
2020-08-12 14:45:49 +02:00
Ricardo Wurmus
718dc7d4a5
build-system/haskell: Add default output "static".
* guix/build-system/haskell.scm (lower): Add OUTPUTS keyword and add the
"static" output in the common case.
(haskell-build): Set the default value for the OUTPUTS keyword to include the
"static" output.
* guix/build/haskell-build-system.scm (install): Move static libraries to the
"static" output if it exists.
2020-08-12 14:45:48 +02:00
Ricardo Wurmus
9e5496e0ae
build-system/haskell: Configure to link with shared libraries.
* guix/build/haskell-build-system.scm (configure): Add configure flags to
build shared libraries by default, to generate position independent code, and
to set the RUNPATH.
2020-08-12 14:45:48 +02:00
Ricardo Wurmus
0347888a7e
build-system/haskell: Refactor configure step.
* guix/build/haskell-build-system.scm (configure): Replace append
with quasiquotes and splicing.
2020-08-12 14:45:48 +02:00
Ricardo Wurmus
67cb9fa235
build-system/haskell: Support parallel builds.
* guix/build-system/haskell.scm (haskell-build): Add keyword PARALLEL-BUILD?
and pass it on to the builder.
* guix/build/haskell-build-system.scm (build): Accept keyword PARALLEL-BUILD?
and pass the number of parallel jobs to GHC.
2020-08-12 14:45:48 +02:00
Timothy Sample
54c9b5bfd7
gnu: Add ghc-8.8.
* gnu/packages/haskell.scm (ghc-8.8): New variable.
2020-08-12 14:45:44 +02:00
Ricardo Wurmus
1c831f42cf
gnu: r-car: Update to 3.0-9.
* gnu/packages/statistics.scm (r-car): Update to 3.0-9.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus
d7570fc79b
gnu: r-fit-models: Update to 0.64.
* gnu/packages/statistics.scm (r-fit-models): Update to 0.64.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus
15d4f9e109
gnu: r-rrcov: Update to 1.5-5.
* gnu/packages/statistics.scm (r-rrcov): Update to 1.5-5.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus
6cb15e098c
gnu: r-hmisc: Update to 4.4-1.
* gnu/packages/statistics.scm (r-hmisc): Update to 4.4-1.
[propagated-inputs]: Remove r-acepack.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus
1713df8e9a
gnu: r-tidyr: Update to 1.1.1.
* gnu/packages/statistics.scm (r-tidyr): Update to 1.1.1.
[propagated-inputs]: Remove r-rcpp and r-stringi; add r-cpp11.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus
06576a5bd0
gnu: r-dt: Update to 0.15.
* gnu/packages/statistics.scm (r-dt): Update to 0.15.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus
47b57ce5dc
gnu: r-xml: Update to 3.99-0.5.
* gnu/packages/statistics.scm (r-xml): Update to 3.99-0.5.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus
228a197278
gnu: r-rcpparmadillo: Update to 0.9.900.2.0.
* gnu/packages/statistics.scm (r-rcpparmadillo): Update to 0.9.900.2.0.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus
210ae7ba60
gnu: r-devtools: Update to 2.3.1.
* gnu/packages/statistics.scm (r-devtools): Update to 2.3.1.
[propagated-inputs]: Remove r-crayon, r-digest, r-glue, and r-git2r.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus
c2b02b1b49
gnu: r-httr: Update to 1.4.2.
* gnu/packages/statistics.scm (r-httr): Update to 1.4.2.
[native-inputs]: Add r-knitr.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus
81cc043322
gnu: r-data-table: Update to 1.13.0.
* gnu/packages/statistics.scm (r-data-table): Update to 1.13.0.
[native-inputs]: Add r-knitr.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus
4a791a2f6d
gnu: r-dplyr: Update to 1.0.1.
* gnu/packages/statistics.scm (r-dplyr): Update to 1.0.1.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus
b4552eba89
gnu: r-ggdendro: Update to 0.1.21.
* gnu/packages/statistics.scm (r-ggdendro): Update to 0.1.21.
[propagated-inputs]: Remove r-knitr.
[native-inputs]: Add r-knitr.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus
284caaf505
gnu: r-bit64: Update to 4.0.2.
* gnu/packages/statistics.scm (r-bit64): Update to 4.0.2.
2020-08-12 13:57:14 +02:00
Ricardo Wurmus
d9dc684dce
gnu: r-bit: Update to 4.0.4.
* gnu/packages/statistics.scm (r-bit): Update to 4.0.4.
[native-inputs]: Add r-knitr.
2020-08-12 13:57:14 +02:00
Ricardo Wurmus
4ebeb5329b
gnu: r-brms: Update to 2.13.5.
* gnu/packages/cran.scm (r-brms): Update to 2.13.5.
2020-08-12 13:57:14 +02:00
Ricardo Wurmus
b65959fa72
gnu: r-rxnat: Update to 1.0.12.
* gnu/packages/cran.scm (r-rxnat): Update to 1.0.12.
[propagated-inputs]: Add r-dplyr.
2020-08-12 13:57:14 +02:00
Ricardo Wurmus
c8ccc115a4
gnu: r-aws: Update to 2.4-3.
* gnu/packages/cran.scm (r-aws): Update to 2.4-3.
2020-08-12 13:57:14 +02:00
Ricardo Wurmus
8754e5b761
gnu: r-rstanarm: Update to 2.21.1.
* gnu/packages/cran.scm (r-rstanarm): Update to 2.21.1.
[native-inputs]: Add r-knitr.
2020-08-12 13:57:14 +02:00
Ricardo Wurmus
ad53122f35
gnu: r-rstan: Update to 2.21.2.
* gnu/packages/cran.scm (r-rstan): Update to 2.21.2.
[propagated-inputs]: Add r-withr.
2020-08-12 13:57:14 +02:00
Ricardo Wurmus
f74941f7d9
gnu: r-quanteda: Update to 2.1.1.
* gnu/packages/cran.scm (r-quanteda): Update to 2.1.1.
2020-08-12 13:57:14 +02:00
Ricardo Wurmus
7094d92aaa
gnu: r-shinycssloaders: Update to 1.0.0.
* gnu/packages/cran.scm (r-shinycssloaders): Update to 1.0.0.
2020-08-12 13:57:14 +02:00
Ricardo Wurmus
d222c7527d
gnu: r-adamethods: Update to 1.2.1.
* gnu/packages/cran.scm (r-adamethods): Update to 1.2.1.
2020-08-12 13:57:14 +02:00
Ricardo Wurmus
ac6ce7bb52
gnu: r-fda: Update to 5.1.5.1.
* gnu/packages/cran.scm (r-fda): Update to 5.1.5.1.
2020-08-12 13:57:14 +02:00
Ricardo Wurmus
eaa1cc3bb6
gnu: r-rgdal: Update to 1.5-16.
* gnu/packages/cran.scm (r-rgdal): Update to 1.5-16.
2020-08-12 13:57:14 +02:00
Ricardo Wurmus
1f5bc20aca
gnu: r-parameters: Update to 0.8.2.
* gnu/packages/cran.scm (r-parameters): Update to 0.8.2.
2020-08-12 13:57:14 +02:00
Ricardo Wurmus
3ea13fd105
gnu: r-dalex: Update to 1.3.1.1.
* gnu/packages/cran.scm (r-dalex): Update to 1.3.1.1.
2020-08-12 13:57:13 +02:00
Ricardo Wurmus
606dd761ac
gnu: r-ibreakdown: Update to 1.3.1.
* gnu/packages/cran.scm (r-ibreakdown): Update to 1.3.1.
2020-08-12 13:57:13 +02:00
Ricardo Wurmus
a2989498a7
gnu: r-ingredients: Update to 1.3.1.
* gnu/packages/cran.scm (r-ingredients): Update to 1.3.1.
2020-08-12 13:57:13 +02:00
Ricardo Wurmus
30b1b051e6
gnu: r-gbm: Update to 2.1.8.
* gnu/packages/cran.scm (r-gbm): Update to 2.1.8.
[propagated-inputs]: Remove r-gridextra.
[native-inputs]: Add r-knitr.
2020-08-12 13:57:13 +02:00
Ricardo Wurmus
fb883e0dfe
gnu: r-hierfstat: Update to 0.5-7.
* gnu/packages/cran.scm (r-hierfstat): Update to 0.5-7.
[propagated-inputs]: Add r-gaston.
[native-inputs]: Add r-knitr.
2020-08-12 13:57:13 +02:00
Ricardo Wurmus
42fdd90252
gnu: r-ibdreg: Update to 0.3.1.
* gnu/packages/cran.scm (r-ibdreg): Update to 0.3.1.
2020-08-12 13:57:13 +02:00
Ricardo Wurmus
487473b26c
gnu: r-rms: Update to 6.0-1.
* gnu/packages/cran.scm (r-rms): Update to 6.0-1.
2020-08-12 13:57:13 +02:00
Ricardo Wurmus
adc4117137
gnu: r-sf: Update to 0.9-5.
* gnu/packages/cran.scm (r-sf): Update to 0.9-5.
2020-08-12 13:57:13 +02:00
Ricardo Wurmus
5d8ec45aec
gnu: r-deldir: Update to 0.1-28.
* gnu/packages/cran.scm (r-deldir): Update to 0.1-28.
2020-08-12 13:57:13 +02:00
Ricardo Wurmus
36acbb1cc8
gnu: r-irkernel: Update to 1.1.1.
* gnu/packages/cran.scm (r-irkernel): Update to 1.1.1.
2020-08-12 13:57:13 +02:00
Ricardo Wurmus
4283064baf
gnu: r-lavaan: Update to 0.6-7.
* gnu/packages/cran.scm (r-lavaan): Update to 0.6-7.
2020-08-12 13:57:13 +02:00