summaryrefslogtreecommitdiff
path: root/guix/import
AgeCommit message (Collapse)Author
2024-12-16import/utils: Replace '.' by '-' in snake-case procedure.Maxim Cournoyer
* guix/import/utils.scm (snake-case): Replace '.' by '-'. Update doc. Change-Id: I46f2e066c82849627464d0690549288ebbc4e926 Reviewed-by: Ludovic Courtès <ludo@gnu.org>
2024-12-03import/cran: Enhance import pattern.Ricardo Wurmus
* guix/import/cran.scm (import-pattern): Comment; capture direct namespace imports as well as silent imports. Change-Id: Ia54035d6f230d695aa950adb3e691cbce4f2d416
2024-12-03import/cran: Also add set-HOME phase when R.cache exists.Ricardo Wurmus
* guix/import/cran.scm (phases-for-inputs): Add "R.cache" to the list. Change-Id: Ia65beb7cd535de10b024d108a97db0169045fe1f
2024-12-03import/cran: Recurse for all R packages.Ricardo Wurmus
* guix/import/cran.scm (description->package): Return all R packages, not just all propagated inputs. Change-Id: Id1c6ded681e25e29dcef8f8aed1a6be47b36c4a0
2024-12-03import/cran: Restore memoization for download procedure.Ricardo Wurmus
Fixes <https://issues.guix.gnu.org/44256>. * guix/import/cran.scm (cran-package-inputs): Avoid passing "#:method #f", so that there is only one memoization key in the default case. (fetch-description): Use the full list returned by BIOCONDUCTOR-URI. Change-Id: I532812b14f4e4d9542bfb9248555be1b09f7d92f
2024-12-03import/cran: Detect test and vignette inputs.Ricardo Wurmus
* guix/import/cran.scm (import-pattern): New variable. (needed-test-inputs-in-directory, needed-vignettes-inputs-in-directory): New procedures. (source-dir->dependencies): Add native inputs from result of NEEDED-TEST-INPUTS-IN-DIRECTORY and NEEDED-VIGNETTES-INPUTS-IN-DIRECTORY. (cran-package-inputs): Clean up and delete duplicates from source-derived inputs. Change-Id: Id139c144fc6e866e4aaf8f05201b0d2687744fb6
2024-12-03import/cran: Set HOME when R.rsp is among inputs.Ricardo Wurmus
* guix/import/cran.scm (phases-for-inputs): Also add 'set-HOME phase when R.rsp is among the inputs. Change-Id: Ib00d981cc623da8ec487086913570f937a76aeb5
2024-12-03import: utils: Wrap function names in @code.Ricardo Wurmus
* guix/import/utils.scm (beautify-description): Adjust to include "()" in @code wrapper. * tests/import-utils.scm ("beautify-description: wrap function names in @code"): New test. Change-Id: I2b58728571a18ce8302c1b6f98b0c16dbe5931c3
2024-12-03guix: Update to Bioconductor 3.20.Ricardo Wurmus
* guix/build-system/r.scm (bioconductor-uri): Update URL. * guix/import/cran.scm (%bioconductor-version): Update. Change-Id: I66a02957991bcfe15dcf56806244e56222c3f1c3
2024-12-02import/crate: Fix typo.Ricardo Wurmus
guix/import/crate.scm (lookup-crate): Fix typo in docstring. Change-Id: I5492387b93b27ab42999d5984fa7f02e8bee11e2
2024-12-01import: gnome: Keep going upon HTTP errors.Ludovic Courtès
* guix/import/gnome.scm (import-gnome-release): Do not re-raise condition C, emit a warning instead. Change-Id: I9a7c337a17d1f7ed4677398e7b0f383befca7d74
2024-11-28import: egg: Fix recursive imports.Ekaitz Zarraga
Fixes #74565. * guix/import/egg.scm (egg-recursive-import) <#:repo->guix-package>: Add `#:allow-other-keys`. Change-Id: I97ad2d1aaf664c8dc18965eb2a497aa0a76062d7
2024-11-23import: cpan: Support recursive imports.zero@fedora
* guix/import/cpan.scm (cpan-module->sexp): Return two values. (cpan->guix-package): Add #:version. Return two values. (cpan-recursive-import): New procedure. * guix/scripts/import/cpan.scm (show-help, %options): Add ‘-r’. (guix-import-cpan): Adjust accordingly. Change-Id: Id167c7ddd079f4e04650ce7cc1692a9de36cd8fe Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-20licenses: Add blue-oak1.0.0.Nicolas Graves
* guix/licenses.scm (blue-oak1.0.0): New variable. * guix/import/utils.scm (%spdx-license-identifiers): Add license blueoak1.0.0. Change-Id: I89058136da55fdb4267bd2dbe56954153d7d6dde
2024-11-17import: stackage: Adjust to fix failing lint test.Maxim Cournoyer
Commit abc3eb33191 ("import: hackage: Support updating to a specific version.") modified the signature of hackage-fetch; some code was still calling `hackage-fetch' with a single argument, breaking the tests/lint.scm test. * guix/import/stackage.scm (latest-lts-release): Adjust calls to `hackage-fetch'. Change-Id: Ic83ebc12a7948023956fe30cfb8aa22b6d282fc6
2024-11-14import: hackage: Support updating to a specific version.Nicolas Graves
* gnu/import/hackage.scm (hackage-fetch-and-hash, hackage-fetch): Support name and version argument. (import-release): New variable, formerly known as latest-release. Support updating to a specific version. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I8f9e3ee99676cedca82f7c8c5ff51baa5a6fc46a
2024-11-09guix: Add copyright records.Sharlatan Hellseher
* guix/build-system/go.scm: Add missing copyright record to the header for Christina O'Donnell <cdo@mutix.org>. * guix/import/go.scm: Likewise. Change-Id: If8b6b5dd31126b9209da5b6c0ad1d479c653bbe6
2024-11-09import/go: Add diagnostics.Christina O'Donnell
guix/import/go.scm (go-module-available-versions): Add warning when fetching a list of versions from the proxy fails and raise exception when no version can be found at all. (module-path->repository-root): Warn when all attempts to find the repository root have failed. (fetch-module-meta-data): Raise exception when no meta element could be found. (go-module->guix-package): Catch general exceptions and warn that the package could not be imported. Change-Id: I6dcdccc71f54bfec7110f6bfc5aeb8855502d1e3 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-09import/go: Account for monorepo modules in the Go importer.Christina O'Donnell
This change allows for importing of modules situated in repos where they're not at the root directory. * guix/import/go.scm (go-module-verstion-string): Delete (go-module-version-info): New procedure (module-path->repository-root): Add parameter (vcs->origin): Add parameter (path-diff): New procedure Change-Id: If50f7a951ce8e527e5ea44ed24db10d6a3676ff0 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-09import/go: Add comment about monorepo.Sharlatan Hellseher
* guix/import/go.scm: Clarify what is monorepo in Go ecosystem. Change-Id: I86e35db4f02bfacb3df15a330ca1fde373b3cc13
2024-11-04import/cran: Do not crash when license field is missing.Ricardo Wurmus
* guix/import/cran.scm (description->package): Do not process license as string when it's missing. Change-Id: I415fa6be17631f83c2aa7a213683fdf90a868e96
2024-10-12import: composer: Implement recursive package refresh.Nicolas Graves
* guix/import/composer.scm (guix-package->composer-name): Simplify. (composer-fetch): Replace reduce by fold to correct version selection logic. (latest-release): Implement recursive package refresh. Rename to import-release. (import-release): New function, formerly known as latest-release. Change-Id: I8f629b4d1da866f5986d39b4e159f2b44af9ee49 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-12import: composer: Handle parsing failures.Nicolas Graves
* guix/import/composer (latest-release): Handle parsing failures. Rename package to composer-package for clarity. Change-Id: I57f6fba7b05122b031177681e76cf0b5c9547736 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-09-19Revert "import: crate: Emit new-style package inputs."Ludovic Courtès
This reverts commit b8af6694b9bbea96e8b0d1c9aea64b7f8e690812, which led ‘guix import crate’ to produce invalid code (missing quasiquote) and triggered a failure of ‘tests/crate.scm’. Fixes <https://issues.guix.gnu.org/72939>. Reported-by: Aleksandr Vityazev <avityazev@disroot.org> Change-Id: If309caaa594f912788e20007bfa1f55b7d581a93
2024-08-31guix: import texlive: Add UPSTREAM-NAME property when necessary.Nicolas Goaziou
* guix/import/texlive.scm (tlpdb->package): Add UPSTREAM-NAME property when necessary. * tests/texlive.scm ("texlive->guix-package, with upstream-name property"): Add new test. Change-Id: I134a065cbe0a7f0ff4d72b0929dba4e4d46cfaeb
2024-08-31guix: import texlive: no bogus data with non-existing packages.Nicolas Goaziou
* guix/import/texlive.scm (latest-release): Check if the package really exists in the package database before returning an <upstream-source> object. Change-Id: I85c600b7b125b02cac58f263eac645dd8fab63ab
2024-08-31gnu: Turn TEXLIVE-SOURCE into a complete package.Nicolas Goaziou
* gnu/packages/tex.scm (%texlive-version): Remove variable. (texlive-source): Turn into a complete package so it can benefit from auto-updates. (texlive-libkpathsea): (texlive-libptexenc): (texlive-bin): (texlive-scheme-basic): (texlive-scheme-bookpub): (texlive-scheme-context): (texlive-scheme-full): (texlive-scheme-gust): (texlive-scheme-medium): (texlive-scheme-minimal): (texlive-scheme-small): (texlive-scheme-tetex): (texlive-afm2pl-bin): (texlive-autosp-bin): (texlive-axodraw2-bin): (texlive-cjkutils-bin): (texlive-gregoriotex-bin): (texlive-m-tx-bin): (texlive-musixtnt-bin): (texlive-pmx-bin): (texlive-velthuis-bin): (texlive-vlna-bin): (texlive-bibtex8-bin): (texlive-chktex-bin): (texlive-detex-bin): (texlive-dtl-bin): (texlive-dvi2tty-bin): (texlive-dvidvi-bin): (texlive-dviljk-bin): (texlive-dviout-util-bin): (texlive-dvipng-bin): (texlive-dvipos-bin): (texlive-dvisvgm-bin): (texlive-ptex-bin): (texlive-lcdftypetools-bin): (texlive-dvipdfmx-bin): (texlive-dvips-bin): (texlive-lacheck-bin): (texlive-seetexk-bin): (texlive-ps2eps-bin): (texlive-ps2pk-bin): (texlive-psutils-bin): (texlive-t1utils-bin): (texlive-tex4ht-bin): (texlive-tpic2pdftex-bin): (texlive-ttfutils-bin): (texlive-upmendex-bin): (texlive-xpdfopen-bin): (texlive-gsftopk-bin): (texlive-xml2pmx-bin): (texlive-makeindex-bin): (texlive-collection-basic): (texlive-collection-bibtexextra): (texlive-collection-binextra): (texlive-collection-context): (texlive-collection-fontsextra): (texlive-collection-fontsrecommended): (texlive-collection-fontutils): (texlive-collection-formatsextra): (texlive-collection-games): (texlive-collection-humanities): (texlive-collection-langarabic): (texlive-collection-langchinese): (texlive-collection-langcjk): (texlive-collection-langcyrillic): (texlive-collection-langczechslovak): (texlive-collection-langenglish): (texlive-collection-langeuropean): (texlive-collection-langfrench): (texlive-collection-langgerman): (texlive-collection-langgreek): (texlive-collection-langitalian): (texlive-collection-langjapanese): (texlive-collection-langkorean): (texlive-collection-langother): (texlive-collection-langpolish): (texlive-collection-langportuguese): (texlive-collection-langspanish): (texlive-collection-latex): (texlive-collection-latexextra): (texlive-collection-latexrecommended): (texlive-collection-luatex): (texlive-collection-mathscience): (texlive-collection-metapost): (texlive-collection-music): (texlive-collection-pictures): (texlive-collection-plaingeneric): (texlive-collection-pstricks): (texlive-collection-publishers): (texlive-collection-xetex): (texlive-xindy-bin): (texlive-xdvi-bin): Adapt to change of record type. (texlive-updmap.cfg)[version]: Use the same as TEXLIVE-SOURCE. * guix/import/texlive.scm: (tlpdb-guix-packages): Define "source" as a special package. (texlive->svn-multi-reference): (tlpdb->package): (package-from-texlive-repository?): Treat TEXLIVE-SOURCE specially. Change-Id: I33890e54d825fdfed4203d770e40ed6255dd4dd2 Change-Id: I62fdd2766938ea4562fe6e4d45fd11c1ee0104d3
2024-08-31guix: import texlive: Reduce friction when updating.Nicolas Goaziou
* guix/import/texlive.scm (no-bin-propagation-packages): Add more false positives that do not need to propagate binaries. (list-linked-scripts): Recognize ".sco" extension. (list-upstream-inputs): Special case TEXLIVE-KPATHSEA, which should propagate TEXLIVE-LIBKPATHSEA, not TEXLIVE-KPATHSEA-BIN. (texlive->svn-multi-reference): (tlpdb->package): Special case URL for TEXLIVE-SCRIPTS. Change-Id: Ib0954b42a4664184ab006b4c6ec9bdacd48c1646
2024-08-31guix: import texlive: Adjust to generate new source format.Nicolas Goaziou
* guix/import/texlive.scm (tlpdb->package): Adjust source according to new format. * tests/texlive.scm (%fake-tlpdb): Add database revision. ("texlive->guix-package, no docfiles"): ("texlive->guix-package"): ("texlive->guix-package, with catalogue entry, no inputs"): ("texlive->guix-package, multiple licenses"): ("texlive->guix-package, with TeX format"): Update checks. Change-Id: I60d5fe0f5f8db194c679dcb262f64c824cd19909
2024-08-31gnu: Factorize URLs relative to TeX Live.Nicolas Goaziou
* guix/build-system/texlive.scm (%texlive-repository): (texlive-packages-repository): New variables. * guix/import/texlive.scm (texlive-repository-location): (texlive-repository): Remove variables. (version->revision): (latest-texlive-tag): (tlpdb): (texlive->svn-multi-reference): Use new variables. * gnu/packages/tex.scm (texlive-source): (texlive-scripts): Use new variables. Change-Id: Ibbb21f9869d7fcb5aa66f7d9dd2070d0d5d8682a
2024-08-31gnu: texlive-scripts: Allow auto-updates.Nicolas Goaziou
* guix/import/texlive.scm (tlpdb-guix-packages): Add meta-data for TEXLIVE-SCRIPTS. (texlive->svn-multi-reference): (package-from-texlive-repository?): Special case TEXLIVE-SCRIPTS. Change-Id: Ide47d25430a39f620aae115fa4891c85d1d0c151
2024-08-31gnu: TeX Live packages built from TEXLIVE-SOURCE use same version.Nicolas Goaziou
* gnu/packages/tex.scm (%texlive-version): New variable. (texlive-source): (texlive-libkpathsea)[version]: (texlive-libptexenc)[version]: (texlive-bin)[version]: (texlive-scheme-basic)[version]: (texlive-scheme-bookpub)[version]: (texlive-scheme-context)[version]: (texlive-scheme-full)[version]: (texlive-scheme-gust)[version]: (texlive-scheme-medium)[version]: (texlive-scheme-minimal)[version]: (texlive-scheme-small)[version]: (texlive-scheme-tetex)[version]: (texlive-collection-basic)[version]: (texlive-collection-bibtexextra)[version]: (texlive-collection-binextra)[version]: (texlive-collection-context)[version]: (texlive-collection-fontsextra)[version]: (texlive-collection-fontsrecommended)[version]: (texlive-collection-fontutils)[version]: (texlive-collection-formatsextra)[version]: (texlive-collection-games)[version]: (texlive-collection-humanities)[version]: (texlive-collection-langarabic)[version]: (texlive-collection-langchinese)[version]: (texlive-collection-langcjk)[version]: (texlive-collection-langcyrillic)[version]: (texlive-collection-langczechslovak)[version]: (texlive-collection-langenglish)[version]: (texlive-collection-langeuropean)[version]: (texlive-collection-langfrench)[version]: (texlive-collection-langgerman)[version]: (texlive-collection-langgreek)[version]: (texlive-collection-langitalian)[version]: (texlive-collection-langjapanese)[version]: (texlive-collection-langkorean)[version]: (texlive-collection-langother)[version]: (texlive-collection-langpolish)[version]: (texlive-collection-langportuguese)[version]: (texlive-collection-langspanish)[version]: (texlive-collection-latex)[version]: (texlive-collection-latexextra)[version]: (texlive-collection-latexrecommended)[version]: (texlive-collection-luatex)[version]: (texlive-collection-mathscience)[version]: (texlive-collection-metapost)[version]: (texlive-collection-music)[version]: (texlive-collection-pictures)[version]: (texlive-collection-plaingeneric)[version]: (texlive-collection-pstricks)[version]: (texlive-collection-publishers)[version]: (texlive-collection-xetex)[version]: Use new variable. * guix/import/texlive.scm (tlpdb->package): Always use version from %TEXLIVE-VERSION. * tests/texlive.scm ("texlive->guix-package, meta-package"): Test change to importer. Since meta-packages are empty, they are not going through an updater. This change makes sure they always refer to an up-to-date version when the rest of TeX Live is updated. Change-Id: I55445e3337c1dea22158103d9ed952f75c3c4964 texlive-source Change-Id: I198a361fd6df3c5dd2b4fa376e1ad623937f08cc
2024-08-31guix: import texlive: Implement auto-updates.Nicolas Goaziou
* guix/import/texlive.scm (package-from-texlive-repository?): (latest-release): (tlpdb-guix-packages): (%texlive-updater): New variables. (tlpdb): Include Guix-specific package TEXLIVE-HYPHEN-COMPLETE. * guix/upstream.scm (package-update/svn-multi-fetch): New variable. (%method-updates): Extend it to support SVN-MULTI-FETCH. (update-package-source): Also update revisions and locations from svn-multi-reference sources. Change-Id: I6d7f2cfe1e2f78887f410233bfd2799ffab80f3c
2024-08-31guix: import texlive: Handle versions.Nicolas Goaziou
* guix/import/texlive.scm (texlive-repository): (texlive-repository-location): (svn-command): (version->revision): (current-day): (latest-texlive-tag): (texlive->svn-multi-reference): New variables. (tlpdb-file) Remove function. (tlpdb): Add VERSION argument. * guix/import/texlive.scm (list-upstream-inputs): Add VERSION and DATABASE arguments. (tlpdb->package): Do not use fixed version. Instead, make use of the version provided as an argument. Add DATABASE argument for testing. (texlive->guix-package): Do not memoize. Allow providing any TeX Live release tag as version. Default to latest tag. Add DATABASE argument for testing. Improve docstring. * tests/texlive.scm ("texlive->guix-package, no docfiles"): ("texlive->guix-package"): ("texlive->guix-package, with METAFONT files"): ("texlive->guix-package, with catalogue entry, no inputs"): ("texlive->guix-package, multiple licenses"): ("texlive->guix-package, meta-package"): ("texlive->guix-package, with TeX format"): ("texlive->guix-package, execute but no TeX format"): ("texlive->guix-package, translate dependencies"): ("texlive->guix-package, lonely `hyphen-base' dependency and ARCH"): ("texlive->guix-package, single script, no extension"): ("texlive->guix-package, multiple scripts, with extensions"): ("texlive->guix-package, script with associated input"): ("texlive->guix-package, propagated binaries, no script"): ("texlive->guix-package, propagated binaries and scripts"): ("texlive->guix-package, with skipped propagated binaries"): Update tests. Change-Id: I7576b6e31e9ec3ff84258b71d0c4dd180d2b5c38
2024-08-31guix: import texlive: Factorize package inputs listing.Nicolas Goaziou
* guix/import/texlive.scm (list-upstream-inputs): (upstream-inputs->texlive-inputs): New functions. (tlpdb->package): Use new functions. Use <upstream-input> record to store associated inputs. Change-Id: I70d42d291347feaade36eef83a04218fb100aae9
2024-08-31guix: import texlive: Move a comment.Nicolas Goaziou
* guix/import/texlive.scm (latex-bin-dependency-tree): Move comment inside the variable. Change-Id: Ia3fd8b49b9680122c0f85dca0226db42b0dd3927
2024-08-31guix: import texlive: Remove `files-differ?' function.Nicolas Goaziou
* guix/import/texlive.scm (files-differ?): Remove no longer used function. Change-Id: I472b628da779c187fd315a929546c8e9bcefdcd3
2024-08-31guix: import texlive: Sort modules alphabetically.Nicolas Goaziou
* guix/import/texlive.scm: Sort modules alphabetically. Change-Id: I02099403e9a6e64840a54ad07bb82e719dcdc60d
2024-08-31guix: import texlive: Rename some functions.Nicolas Goaziou
* guix/import/texlive.scm (filter-depends): Rename from `translate-depends'. Clarify docstring. (list-formats): Renamed from `formats'. (tlpdb->package): Apply renaming. Change-Id: If573cb8bde8be3ac65186298cf439f71f733f8eb
2024-08-31guix: import texlive: Propagate binaries when necessary.Nicolas Goaziou
* guix/import/texlive.scm (no-bin-propagation-packages): New variable. (list-binfiles): New function. (linked-scripts): Renamed to... (list-linked-scripts): ... this. Now always return a list. (tlpdb->package): Handle binary propagation. * tests/texlive.scm (%fake-tlpdb): Add data for new tests. ("texlive->guix-package, propagated binaries, no script"): ("texlive->guix-package, propagated binaries and scripts"): ("texlive->guix-package, with skipped propagated binaries"): New tests. Change-Id: I707ba33a10aa98ad27151724d3ecc4158db6b7cc
2024-08-31import: go: Emit new-style package inputs.Sarah Morgensen
Since PACKAGE-NAMES->PACKAGE-INPUTS is used by both the go and crate importers, give the crate importer a copy of the original so it continues to use old-style inputs until it is updated. * guix/import/utils.scm (package-names->package-inputs)[make-input]: Return new-style package inputs. (maybe-inputs): Wrap PACKAGE-INPUTS in 'list' instead of 'quasiquote'. * guix/import/crate.scm (package-names->package-inputs): New variable. * tests/go.scm ("go-module->guix-package"): Adjust to new-style package inputs. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31import: crate: Emit new-style package inputs.Sarah Morgensen
* guix/import/crate.scm (maybe-cargo-development-inputs) (maybe-cargo-inputs): Wrap PACKAGE-INPUTS in unquoted 'list'. * tests/crate.scm ("crate->guix-package") ("cargo-recursive-import") ("cargo-recursive-import-honors-existing-packages"): Adjust accordingly. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I4dfb745272ecbc893926446872514fb815c07236
2024-08-17import: pypi: make-pypi-sexp: Detect 'null description.Danny Milosavljevic
* guix/import/pypi.scm (make-pypi-sexp): Detect 'null description. Change-Id: I8b2704852ecbd8de1bf7bf5598727e7a3a43932c
2024-07-06import: github: Honor upstream-name property.Dariqq
* guix/import/github.scm (import-release): Use package-upstream-name instead of package-name. Change-Id: I9a4999a01156ce02584270837ceab70996b49106 Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-06-29gnu: Upgrade to Stackage 20.26.Lars-Dominik Braun
* guix/import/stackage.scm (%default-lts-version): Upgrade to Stackage 20.26. * gnu/packages/patches/ghc-aeson-encodeDouble.patch: New file. * gnu/packages/patches/ghc-clock-realfrag.patch: New file. * gnu/local.mk: Register them. * gnu/packages/haskell-check.scm (ghc-tasty-hedgehog): Update. (ghc-tasty-hspec): Update. (ghc-tasty-expected-failure): Update. (ghc-quickcheck-instances): Update. (ghc-quickcheck-io): Update. (ghc-hspec-contrib): Update. * gnu/packages/haskell-crypto.scm (ghc-curve25519): Update. (ghc-tls): Update. * gnu/packages/haskell-web.scm (ghc-tagsoup): Update. (ghc-http2): Update. (ghc-wai-websockets): Update. (ghc-aeson): Update. (ghc-clientsession): Update. (ghc-yesod-core): Update. (ghc-yesod-persistent): Update. (ghc-wai-cors): Update. * gnu/packages/haskell-xyz.scm (ghc-abstract-par): Update. (ghc-adjunctions): Update. (ghc-aeson-diff): Update. (ghc-base16-bytestring): Update. (ghc-base-compat): Update. (ghc-base-compat-batteries): Update. (ghc-basement): Update. (ghc-bencode): Update. (ghc-bytestring-handle): Update. (ghc-c2hs): Update. (ghc-cassava-megaparsec): Update. (ghc-cborg): Update. (ghc-charset): Update. (ghc-chasingbottoms): Update. (ghc-clock): Update. (ghc-cmark-gfm): Update. (ghc-concurrent-extra): Update. (ghc-concurrent-output): Update. (ghc-conduit-extra): Update. (ghc-constraints): Update. (ghc-convertible): Update. (ghc-csv): Update. (ghc-data-accessor): Update. (ghc-data-ordlist): Update. (ghc-dense-linear-algebra): Update. (ghc-diagrams-core): Update. (ghc-diff): Update. (ghc-dual-tree): Update. (ghc-either): Update. (ghc-errors): Update. (ghc-esqueleto): Update. (ghc-exactprint): Update. (ghc-extensible-exceptions): Update. (ghc-fail): Update. (ghc-filepath-bytestring): Update. (ghc-fingertree): Update. (ghc-fmlist): Update. (ghc-foldl): Update. (ghc-free): Update. (ghc-fsnotify): Update. (ghc-generic-random): Update. (ghc-genvalidity-property): Update. (ghc-groups): Update. (ghc-hackage-security): Update. (ghc-half): Update. (ghc-hashtables): Update. (ghc-haskell-src): Update. (ghc-haskell-src-exts-util): Update. (ghc-hourglass): Update. (ghc-hpack): Update. (ghc-hslua): Update. (ghc-hslua-module-system): Update. (ghc-http-api-data): Update. (ghc-ini): Update. (ghc-inline-c): Update. (ghc-inline-c-cpp): Update. (ghc-interpolate): Update. (ghc-intervals): Update. (ghc-invariant): Update. (ghc-io-streams): Update. (ghc-ipynb): Update. (ghc-kan-extensions): Update. (ghc-lens): Update. (ghc-libmpd): Update. (ghc-libyaml): Update. (ghc-lifted-async): Update. (ghc-linear): Update. (ghc-listlike): Update. (ghc-logict): Update. (ghc-lucid): Update. (ghc-lzma-conduit): Update. (ghc-magic): Update. (ghc-microlens-ghc): Update. (ghc-microlens-mtl): Update. (ghc-microlens-platform): Update. (ghc-missingh): Update. (ghc-mmorph): Update. (ghc-monad-control): Update. (ghc-monad-logger): Update. (ghc-monoid-extras): Update. (ghc-murmur-hash): Update. (ghc-ncurses): Update. (ghc-network-info): Update. (ghc-newtype-generics): Update. (ghc-openglraw): Update. (ghc-text-conversions): Update. (ghc-text-icu): Update. (ghc-text-short): Update. (ghc-text-zipper): Update. (ghc-parsers): Update. (ghc-path): Update. (ghc-peano): Update. (ghc-persistent): Update. (ghc-persistent-sqlite): Update. (ghc-process-extras): Update. (ghc-indexed-profunctors): Update. (ghc-project-template): Update. (ghc-psqueues): Update. (ghc-random): Update. (ghc-reducers): Update. (ghc-refact): Update. (ghc-regex-posix): Update. (ghc-resourcet): Update. (ghc-sdl): Update. (ghc-sdl2-image): Update. (ghc-sdl2-mixer): Update. (ghc-sdl2-ttf): Update. (ghc-sdl2-gfx): Update. (ghc-semigroupoids): Update. (ghc-semigroups): Update. (ghc-shakespeare): Update. (ghc-shelly): Update. (ghc-simple-reflect): Update. (ghc-size-based): Update. (ghc-skylighting-format-latex): Update. (ghc-skylighting-format-ansi): Update. (ghc-skylighting): Update. (ghc-sop-core): Update. (ghc-split): Update. (ghc-splitmix): Update. (ghc-statevar): Update. (ghc-statistics): Update. (ghc-stm-conduit): Update. (ghc-storable-complex): Update. (ghc-storablevector): Update. (ghc-svg-builder): Update. (ghc-temporary-rc): Update. (ghc-terminal-size): Update. (ghc-text-manipulate): Update. (ghc-th-abstraction): Update. (ghc-th-expand-syns): Update. (ghc-th-lift-instances): Update. (ghc-th-orphans): Update. (ghc-timezone-series): Update. (ghc-timezone-olson): Update. (ghc-tldr): Update. (ghc-transformers-compat): Update. (ghc-exception-transformers): Update. (ghc-trifecta): Update. (ghc-turtle): Update. (ghc-unagi-chan): Update. (ghc-unexceptionalio): Update. (ghc-unicode-transforms): Update. (ghc-unix-compat): Update. (ghc-unix-time): Update. (ghc-unliftio): Update. (ghc-commutative-semigroups): Update. (ghc-utf8-string): Update. (ghc-void): Update. (ghc-wl-pprint-text): Update. (ghc-x11-xft): Update. (ghc-xml): Update. (ghc-xml-hamlet): Update. (ghc-yaml): Update. (ghc-zip-archive): Update. (ghc-zlib): Update. (ghc-zstd): Update. (ghc-keys): Update. (ghc-pointed): Update. (ghc-lift-type): Update. (ghc-unicode-collation): Update. (ghc-citeproc): Update. (ghc-commonmark): Update. (ghc-commonmark-extensions): Update. (ghc-genvalidity-hspec): Update. (ghc-netlink): Update. (ghc-doctest-driver-gen): Update. (ghc-mysql): Update. (ghc-persistent-qq): Update. (ghc-persistent-mysql): Update. (ghc-string-conversions): Update. (ghc-postgresql-simple): Update. (ghc-persistent-postgresql): Update. (ghc-filtrable): Update. (ghc-hsyaml-aeson): Update. (ghc-singleton-bool): Update. (ghc-git-lfs): Update. (ghc-nothunks): Update. (ghc-onetuple): Update. (ghc-doctest-parallel): Update. (ghc-ordered-containers): Update. (ghc-hslua-marshalling): Update. (ghc-gridtables): Update. (ghc-should-not-typecheck): Update. (ghc-servant-server): Update. (ghc-recv): Update. (ghc-glib): Update. (ghc-pango): Update. (ghc-monoidal-containers): Update. (ghc-newtype): Update. (ghc-random-shuffle): Update. (ghc-ref-tf): Update. * gnu/packages/irc.scm (glirc): Update. * gnu/packages/purescript.scm (purescript): Update. * gnu/packages/wm.scm (icewm): Update. (ghc-xmobar): Update. Change-Id: I26ef7c2ef06e3075eba3da21947f16708c437f98
2024-06-03import: utils: End package descriptions with period.Herman Rimm
* guix/import/utils.scm (beautify-description): Append period to last words which do not end with one. * tests/crate.scm: Append period to descriptions. * tests/elm.scm: Append period to descriptions. * tests/gem.scm: Append period to descriptions. * tests/hexpm.scm: Append period to descriptions. * tests/minetest.scm: Append period to descriptions. * tests/pypi.scm: Append period to descriptions. * tests/import-utils.scm ("beautify-description: transform fragment into sentence"): Likewise. Change-Id: I0b12c4d94cb26cf62fab5b7cbf7885e66ff6c10f Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-03import: crate: Include a main verb in crate importer descriptions.Herman Rimm
* guix/import/crate.scm (make-crate-sexp): Start description with 'This package provides '. * tests/crate.scm: Set descriptions to "This package provides summary". Signed-off-by: Ludovic Courtès <ludo@gnu.org> Change-Id: If0f47a68f986b9e878fd5caa3e365c5ad863089a
2024-06-03import: crate: Beautify crate importer synopses.Herman Rimm
* guix/import/crate.scm (make-crate-sexp): Use beautify-synopsis. Change-Id: I4e30e043d34da7a3c355e098f155c0c75b619063 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-22import/elpa: Add proper file-name to origin.Nicolas Graves via Guix-patches via
This avoids the lint "the source file name should contain the package name" with generated packages. Change-Id: I61c81203d9f3cdd035e2b64a4c7a8d86d1f3dd50 Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-05-19import: Add binary npm importer.Jelle Licht
* guix/scripts/import.scm: (importers): Add "npm-binary". * doc/guix.texi (Invoking guix import): Document npm-binary importer. * guix/import/npm-binary.scm: New file. * guix/scripts/import/npm-binary.scm: New file. * tests/npm-binary.scm: New file. * Makefile.am: Add them. Co-authored-by: Timothy Sample <samplet@ngyro.com> Co-authored-by: Lars-Dominik Braun <lars@6xq.net> Change-Id: I98a45068cf5b9c42790664cc743feaa7ac76f807