guix-play/guix/import
David Craven f1d136957d
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>.
2017-01-01 18:20:52 +01:00
..
cabal.scm packages: Use '@' in package record printers. 2016-01-28 16:31:38 +01:00
cpan.scm import: cpan: Add updater. 2016-12-12 22:22:33 -06:00
cran.scm import cran: Handle HTTP errors. 2016-12-17 19:13:42 +01:00
crate.scm build-system: cargo: Handle Cargo.lock file not present. 2017-01-01 18:20:52 +01:00
elpa.scm import: elpa: Import dependencies as propagated-inputs 2016-12-29 18:22:49 +01:00
gem.scm import: json: Silence json-fetch output. 2016-12-12 22:22:02 -06:00
github.scm import: github: Use 'json-fetch'. 2016-12-20 19:14:41 +01:00
gnu.scm gnu-maintenance: Replace 'find-packages' with 'find-package' (singular). 2016-06-08 19:07:58 +02:00
hackage.scm import: hackage: Default to https urls. 2016-08-30 22:38:16 +03:00
json.scm import: json: Silence json-fetch output. 2016-12-12 22:22:02 -06:00
pypi.scm import: pypi: Match new 'pypi-uri' domain in updater. 2016-12-20 12:57:26 +01:00
snix.scm import: snix: Use the right 'package-name->name+version'. 2016-03-06 23:16:35 +01:00
utils.scm build-system: cargo: Handle Cargo.lock file not present. 2017-01-01 18:20:52 +01:00