Age | Commit message (Expand) | Author |
2017-01-01 | build-system: cargo: Handle Cargo.lock file not present....* guix/build-system/cargo.scm (cargo-build): Add src output.
(private-keywords): Add #:outputs.
* guix/build/cargo-build-system.scm (configure): Use /share/rust-source
when replacing inputs.
(build, check): Don't do anything when there isn't a Cargo.lock file
present.
(install): Install sources to src output. When a Cargo.lock file is
present use cargo install to install binaries to out.
* guix/import/crate.scm (make-crate-sexp): Importer uses the src output
for crate inputs by default.
* guix/import/utils.scm (package-names->package-inputs, maybe-inputs,
maybe-native-inputs): Take an optional output argument.
* tests/crate.scm (crate->guix-package test): Update.
Problem reported by Francisco Gómez García <espectalll@kydara.com>.
| David Craven |
2017-01-01 | import: crate: Provide a default home-page value....* guix/import/crate.scm (make-crate-sexp): Provide a default home-page
value.
* tests/crate.scm (test-crate): Add repository field.
Problem reported by ng0 <ng0@libertad.pw>.
| David Craven |
2016-12-29 | import: elpa: Import dependencies as propagated-inputs...* guix/import/elpa.scm (elpa-package->sexp): Import dependencies as
propagated-inputs.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Carlo Zancanaro |
2016-12-29 | import: elpa: Fix call-with-downloaded-file...* guix/import/elpa.scm (call-with-downloaded-file): Make function behaviour
match documentation string.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Carlo Zancanaro |
2016-12-20 | import: github: Use 'json-fetch'....* guix/import/github.scm (json-fetch*): Remove.
(latest-released-version): Adjust accordingly.
| Ludovic Courtès |
2016-12-20 | import: pypi: Match new 'pypi-uri' domain in updater....* guix/import/pypi.scm (pypi-package?): Match pypi.io domain.
| Marius Bakke |
2016-12-17 | import cran: Handle HTTP errors....Fixes <http://bugs.gnu.org/23479>.
* guix/import/cran.scm (fetch-description): Return #f in case of HTTP
errors.
| Ricardo Wurmus |
2016-12-17 | import cran: Add recursive importer....* guix/import/cran.scm (recursive-import): New variable.
(cran->guix-package): Memoize the procedure.
| Ricardo Wurmus |
2016-12-17 | import cran: Ignore default R packages....* guix/import/cran.scm (default-r-packages): New variable.
(description->package): Drop default R packages from list of inputs.
| Ricardo Wurmus |
2016-12-17 | import cran: description->package: Also return package dependencies....* guix/import/cran.scm (description->package): Return package
dependencies in addition to generated package expression.
| Ricardo Wurmus |
2016-12-17 | import cran: Move guix-name to top-level....* guix/import/cran.scm (guix-name): Move to top-level.
| Ricardo Wurmus |
2016-12-17 | import cran: Remove more invalid characters from package names....* guix/import/cran.scm (guix-name): Replace period and underscore with
dash; always prepend package names with "r-".
| Ricardo Wurmus |
2016-12-17 | import cran: Handle BSD licenses with LICENSE file....* guix/import/cran.scm (string->license): Add cases for BSD licenses
with LICENSE file.
| Ricardo Wurmus |
2016-12-17 | import cran: Translate MIT to the Expat license....* guix/import/cran.scm (string->license): Translate "MIT" license to
Expat license.
| Ricardo Wurmus |
2016-12-17 | import cran: Do not use "or later" licenses by default....* guix/import/cran.scm (string->license): Use exact license versions.
| Ricardo Wurmus |
2016-12-14 | import: Add updater for rust crates....* guix/import/crate.scm (crate-package?, latest-release,
%crate-updater): New variables.
* guix/scripts/refresh.scm (%updaters): Add crate updater.
* doc/guix.texi: Add crate updater to table.
| David Craven |
2016-12-14 | import: Add importer for rust crates....* guix/import/crate.scm: New file.
* guix/scripts/import/crate.scm: New file.
* guix/scripts/import.scm (importers): Add crate importer.
* tests/crate.scm: New file.
* doc/guix.texi: Add crate importer to table.
* Makefile.am (MODULES, SCM_TESTS): Add files.
| David Craven |
2016-12-14 | import: utils: Add some utilities....* guix/import/utils.scm (maybe-inputs, maybe-native-inputs,
package->definition): New variables.
| David Craven |
2016-12-12 | import: cpan: Add updater....* guix/import/cpan.scm (module->dist-name): Fetch the field of interest.
(cpan-fetch): Accept release name rather than module name.
(fix-source-url): Rename to ...
(cpan-source-url): ... this. Take metadata as parameter.
(package->upstream-name, cpan-version, cpan-package?, latest-release):
New procedures.
(cpan-module->sexp): Use cpan-version and cpan-source-url.
(%cpan-updater): New variable.
* guix/scripts/refresh.scm (%updaters): Add %CPAN-UPDATER.
| Eric Bavier |
2016-12-12 | import: cpan: Move core-module? to top-level....* guix/import/cpan.scm (cpan-module->sexp): Move local core-module?
procedure to ...
(core-module?): ... here.
| Eric Bavier |
2016-12-12 | import: json: Silence json-fetch output....* guix/import/json.scm (json-fetch): Use http-fetch instead of url-fetch
to avoid writing to stdout and a temporary file for each invocation.
* guix/import/gem.scm (rubygems-fetch): Do not redirect json-fetch
output to /dev/null.
* guix/import/pypi.scm (pypi-fetch): Likewise.
| Eric Bavier |
2016-11-14 | import/cpan: Maybe coerce version to string....* guix/import/cpan.scm (cpan-module->sexp) <version>: Test if version in
meta is string or number. If it is number, coerce to string.
| Alex Sassmannshausen |
2016-11-03 | import: cran: Fix off-by-one error....* guix/import/cran.scm (package->upstream-name): Do not include leading
slash in upstream name URL.
| Ricardo Wurmus |
2016-10-26 | import cran: Use URL for Bioconductor 3.4....* guix/import/cran.scm (%bioconductor-svn-url): Update to release URL
for version 3.4.
| Ricardo Wurmus |
2016-10-23 | import: pypi: All inputs are propagated-inputs by default....* guix/import/pypi.scm (maybe-inputs): Return inputs as
"propagated-inputs".
| Hartmut Goebel |
2016-10-16 | import: utils: Remove dependency on (json) module....This fixes a regression introduced by commit
fbe9c1012820ab72f022a6ec958c35b431ae7a74.
* guix/import/utils.scm: Remove unused (json) module.
| Alex Kost |
2016-10-10 | import: github: Add .love extension....* guix/import/github.scm (find-extension): Add '.love' extension to the
list of extensions checked.
| Efraim Flashner |
2016-09-28 | import: utils: Refactor license->symbol....* guix/import/utils.scm (license->symbol): Work for all licenses.
* tests/import-utils.scm (license->symbol): Add test.
| David Craven |
2016-09-28 | import: utils: Add spdx-string->license....* guix/import/utils.scm (spdx-string->license): New variable.
* guix/licenses.scm (agpl1, fdl1.2+): New variables.
| David Craven |
2016-09-28 | import: Move string->license to importers....* guix/import/gem.scm (string->license): Move from (guix import utils).
* guix/import/pypi.scm (string->license): Move from (guix import utils).
| David Craven |
2016-09-28 | import: Reorder imports in (guix import utils)....* guix/import/utils.scm (define-module): Reorder imports alphabetically.
| David Craven |
2016-08-30 | import: hackage: Default to https urls....* guix/import/hackage.scm (hackage-source-url, hackage-cabal-url): Use https
for hackage.haskell.org.
| ng0 |
2016-08-30 | import: cpan: Use tls to query api.metacpan.org....* guix/import/cpan.scm (module->dist-name, cpan-fetch-module): Use tls
for api.metacpan.org.
Signed-off-by: Eric Bavier <bavier@member.fsf.org>
| ng0 |
2016-08-28 | import: Importers return prefixed licenses....* guix/import/utils.scm
(define-module): Import licenses with license: prefix.
(string->licenses): Use prefixed licenses.
(license->symbol): Return symbols with the prefix license:.
* guix/tests/pypi.scm (pypi->guix-package): Update test cases.
* guix/tests/gem.scm (gem->guix-package): Update test case.
| David Craven |
2016-07-26 | import: pypi: Correctly handle new-style URLs....Fixes <http://bugs.gnu.org/23997>.
* guix/import/pypi.scm (guix-package->pypi-name): Rewrite using
'basename' and 'hyphen-package-name->name+version'.
* tests/pypi.scm ("guix-package->pypi-name, old URL style")
("guix-package->pypi-name, new URL style"): New tests.
| Ludovic Courtès |
2016-07-03 | import: cpan: Use our mirrors for 'https' URLs....* guix/import/cpan.scm (fix-source-url): New procedure.
(cpan-module->sexp): Use it to construct our source-url.
* tests/cpan.scm: Add tests for fix-source-url.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Alex Sassmannshausen |
2016-06-25 | import: pypi: do not fail when 'run_requires' is missing from the metadata....* guix/import/pypi.scm (read-wheel-metadata): do not crash when 'run_requires'
is missing from the metadata.
| Cyril Roelandt |
2016-06-14 | import: pypi: read requirements from wheels....* doc/guix.tex (Invoking guix import): Mention that the pypi importer
works better with "unzip".
* guix/import/pypi.scm (latest-wheel-release,
wheel-url->extracted-directory): New procedures.
* tests/pypi.scm (("pypi->guix-package, wheels"): New test.
| Cyril Roelandt |
2016-06-08 | gnu-maintenance: Replace 'find-packages' with 'find-package' (singular)....Fixes <http://bugs.gnu.org/23718>.
Reported by Efraim Flashner <efraim@flashner.co.il>.
* guix/gnu-maintenance.scm (find-packages): Remove.
(find-package): New procedure.
* guix/import/gnu.scm (gnu->guix-package): Use 'find-package' instead of
'find-packages' and adjust accordingly.
| Ludovic Courtès |
2016-05-31 | import: github: Tiny cosmetic change....* guix/import/github.scm (find-extension): Use a one-argument lambda.
| Ludovic Courtès |
2016-05-31 | import github: Add to extension list....* guix/import/github.scm (find-extension): Add '.tgz' extension.
| Efraim Flashner |
2016-05-17 | import: Gracefully report import failures....Previously, something like 'guix import gnu which' would spit out a
backtrace if, say, the 'which' tarball could not be authenticated.
* guix/upstream.scm (download-tarball): Mention failure modes in
docstring.
* guix/import/gnu.scm (gnu-package->sexp): Return #f when
'download-tarball' returns #f.
* guix/scripts/import.scm (guix-import): Call 'leave' when IMPORTER does
not return a (package ...) sexp.
| Ludovic Courtès |
2016-05-16 | import cran: latest-bioconductor-release: Wrap Bioconductor URL in list....* guix/import/cran.scm (latest-bioconductor-release): Wrap Bioconductor
URL in list in the "urls" field of the "upstream-source" value.
| Ricardo Wurmus |
2016-05-16 | import cran: Use URL for Bioconductor 3.3....* guix/import/cran.scm (%bioconductor-svn-url): Update to release URL
for version 3.3.
| Ricardo Wurmus |
2016-05-04 | utils: Move combinators to (guix combinators)....* guix/utils.scm (compile-time-value, memoize, fold2)
(fold-tree, fold-tree-leaves): Move to...
* guix/combinators: ... here. New file.
* tests/utils.scm ("fold2, 1 list", "fold2, 2 lists")
(fold-tree tests): Move to...
* tests/combinators.scm: ... here. New file.
* Makefile.am (MODULES, SCM_TESTS): Add them.
* gnu/packages.scm, gnu/packages/bootstrap.scm,
gnu/services/herd.scm, guix/build-system/gnu.scm,
guix/build-system/python.scm, guix/derivations.scm,
guix/gnu-maintenance.scm, guix/import/elpa.scm,
guix/scripts/archive.scm, guix/scripts/build.scm,
guix/scripts/graph.scm, guix/scripts/lint.scm,
guix/scripts/size.scm, guix/scripts/substitute.scm,
guix/serialization.scm, guix/store.scm, guix/ui.scm: Adjust imports
accordingly.
| Ludovic Courtès |
2016-04-25 | import: cpan: check version bounds on core modules....Modules may be removed from Perl's core, so we must check for a removal
version.
* guix/import/cpan.scm (cpan-module->sexp)[core-module?]: Also check
version upper bound.
| Eric Bavier |
2016-04-15 | upstream: Pass a package object to updaters....* guix/upstream.scm (package-update-path): Pass PACKAGE to
'latest-release'.
* guix/gnu-maintenance.scm (latest-release*)
(latest-gnome-release, latest-xorg-release): Adjust accordingly.
* guix/import/cran.scm (latest-cran-release):
(latest-bioconductor-release): Likewise.
* guix/import/elpa.scm (latest-release): Likewise.
* guix/import/gem.scm (latest-release): Likewise.
* guix/import/github.scm (latest-release): Likewise.
* guix/import/hackage.scm (latest-release): Likewise.
* guix/import/pypi.scm (latest-release): Likewise.
| Ludovic Courtès |
2016-03-30 | import: Add Hackage updater....* guix/import/hackage.scm (guix-package->hackage-name, hackage-package?)
(latest-release): New procedures.
(%hackage-updater): New variable.
* guix/scripts/refresh.scm (%updaters): Add it.
* doc/guix.texi (Invoking guix refresh): Mention it.
| Eric Bavier |
2016-03-30 | import: hackage: Silence download output....* guix/import/hackage.scm (hackage-fetch): Use http-fetch to avoid
progress output from url-fetch.
| Eric Bavier |
2016-03-30 | import: hackage: Factorize url synthesis....* guix/import/hackage.scm (hackage-source-url, hackage-cabal-url): New
procedures.
(hackage-fetch, hackage-module->sexp): Use them.
| Eric Bavier |