gnu: iproute: Use 'modify-phases'.
* gnu/packages/linux.scm (iproute)[arguments]: Use 'modify-phases'.
gnu: calibre: Update to 2.51.0.
* gnu/packages/ebook.scm (calibre): Update to 2.51.0.
gnu: gnuplot: Update to 5.0.2.
* gnu/packages/maths.scm (gnuplot): Update to 5.0.2.
gnu: lablgtk: Build cmxa libraries.
* gnu/packages/ocaml.scm (lablgtk)[arguments]: Add the make target "opt"
to also build *.cmxa files.
gnu: ocaml: Set search path.
* gnu/packages/ocaml.scm (ocaml): Register OCAMLPATH as a search path.
gnu: Add ocaml-findlib.
* gnu/packages/ocaml.scm (ocaml-findlib): New variable.
* gnu/packages/patches/ocaml-findlib-make-install.patch: New file.
* gnu-system.am (dist_patch_DATA): Register it.
gnu: gnupg: Add upstream fix for test failures on x86_64.
Fixes <https://debbugs.gnu.org/22558>.
* gnu/packages/patches/gnupg-simple-query-ignore-status-messages.patch: New
file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gnupg.scm (gnupg)[source]: Add patch.
gnu: Add tclxml.
* gnu/packages/patches/tclxml-3.2-install.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/tcl.scm (tclxml): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
gnu: Split acme into python-acme and python2-acme.
* gnu/packages/tls.scm (acme): Split variable into...
(python-acme, python2-acme): ...both Python variants.
(letsencrypt)[propagated-inputs]: Update user of renamed variable.
gnu: python-wheel: Define 'python2-variant'.
* gnu/packages/python.scm (python-wheel)[properties]: New field.
(python2-wheel): Use 'strip-python2-variant'.
(python2-requests): Take the result of 'package-with-python2' directly.
* gnu/packages/openstack.scm (python2-requests-mock): Likewise.
(python2-oslosphinx): Likewise.
gnu: python-jsonschema: Define 'python2-variant'.
* gnu/packages/python.scm (python-jsonschema)[properties]: New field.
(python2-jsonschema): Use 'strip-python2-variant'.
* gnu/packages/openstack.scm (python2-tempest-lib): Take the result of
'package-with-python2' directly.
gnu: python-cryptography: Define 'python2-variant'.
* gnu/packages/python.scm (python-cryptography)[properties]: New field.
(python2-cryptography): Use 'strip-python2-variant'.
(python2-pyopenssl): Take the result of 'package-with-python2' directly.
gnu: Add tcllib.
* gnu/packages/tcl.scm (tcllib): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
gnu: tcl: Use tcl/tk license.
* gnu/packages/tcl.scm (tcl)[license]: Use the tcl/tk license variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
licenses: Add tcl/tk license.
* guix/licenses.scm (tcl/tk): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
scripts: environment: Build environments as profiles.
Fixes <http://bugs.gnu.org/19816>.
* guix/scripts/environment.scm (evaluate-input-search-paths)
(build-inputs): Delete.
(evaluate-profile-search-paths, strip-input-name)
(package-or-package+output?, package-environment-inputs)
(build-environment, inputs->profile-derivations): New procedures.
(create-environment, show-search-paths, launch-environment)
(launch-environment/container): Replace 'inputs' argument
with 'profile' argument.
(package+propagated-inputs): Strip off names off of input tuples.
(options/resolve-packages): Handle input tuples that specify an output
in expressions.
(guix-environment): Convert inputs into a profile to use in the
environment. Remove non-package inputs such as origins from
environment inputs.
* doc/guix.texi ("invoking guix environment"): Document package+output
tuples for --expression option.
* tests/guix-environment.sh: Update tests.
* tests/guix-environment-container.sh: Likewise.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
profiles: Add #:system argument to profile-derivation.
Suggested by David Thompson <davet@gnu.org>.
* guix/profiles.scm (profile-derivation): Add #:system parameter and
honor it.
store: Add monadic access to '%current-system'.
* guix/store.scm (current-system, set-current-system): New procedures.
* tests/store.scm ("current-system"): New test.
gnu: macs: Update to 2.1.0.20151222.
* gnu/packages/bioinformatics.scm (macs): Update to 2.1.0.20151222.
gnu: macs: Use "pypi-uri".
* gnu/packages/bioinformatics.scm (macs)[source]: Use "pypi-uri" to
build source URI.