Commit Graph

81 Commits

Author SHA1 Message Date
Ricardo Wurmus dd35abfeee
gnu: Add uglify-js.
* gnu/packages/lisp.scm (uglify-js): New variable.
2017-06-01 23:32:23 +02:00
Ricardo Wurmus 52650a4d2e
gnu: Add sbcl-cl-uglify-js.
* gnu/packages/lisp.scm (sbcl-cl-uglify-js): New variable.
2017-06-01 23:32:23 +02:00
Ricardo Wurmus 476b583fbf
gnu: Add sbcl-iterate.
* gnu/packages/lisp.scm (sbcl-iterate): New variable.
2017-06-01 23:30:28 +02:00
Ricardo Wurmus d0eec99a48
gnu: Add sbcl-parse-number.
* gnu/packages/lisp.scm (sbcl-parse-number): New variable.
2017-06-01 23:30:28 +02:00
Ricardo Wurmus d00c96d727
gnu: Add sbcl-parse-js.
* gnu/packages/lisp.scm (sbcl-parse-js): New variable.
2017-06-01 23:30:28 +02:00
Ricardo Wurmus b693aa6e63
gnu: Add sbcl-cl-ppcre-unicode.
* gnu/packages/lisp.scm (sbcl-cl-ppcre-unicode): New variable.
2017-06-01 23:30:28 +02:00
Andy Patterson f56da605d8
gnu: sbcl-slynk-boot0: Give the package an appropriate name.
* gnu/packages/lisp.scm (sbcl-slynk-boot0)[name]: Change it to reflect the
bootstrap status of the package.
[arguments]<#:asd-system-name>: Add the appropriate value.
(sbcl-slynk-arglists)[arguments]: Set the appropriate #:asd-file and forcibly
unset #:asd-system-name.
(sbcl-slynk)[name]: Change it to the variable name.
(cl-slynk)[name]: Likewise.
2017-05-16 15:18:16 +02:00
Andy Patterson 4209c31b8f
build-system/asdf: Retain references to source files for binary outputs.
In support of long-running programs in which the users would like to be able
to jump to the source of a definition of any of the dependencies (itself
included) of the program.

* guix/build/asdf-build-system.scm (library-outputs): Move from here ...
* guix/build/lisp-utils.scm (library-outputs): ... to here.
(build-program): Accept dependency-prefixes argument, to allow the caller to
specify references which should be retained.  Default to the library's output.
(build-image): Likewise.
(generate-executable): Likewise.
* gnu/packages/lisp.scm (sbcl-stumpwm+slynk, sbcl-slynk, sbcl-stumpwm): Adjust
accordingly to the new interface.
(sbcl-stumpwm+slynk)[native-inputs]: Move to ...
[inputs]: ... here.
2017-05-16 15:18:16 +02:00
Ricardo Wurmus ac2592536d
gnu: Add cl-unicode.
* gnu/packages/lisp.scm (sbcl-cl-unicode-base, sbcl-cl-unicode)
(ecl-cl-unicode, cl-unicode): New variables.

Co-Authored-By: Andy Patterson <ajpatter@uwarerloo.ca>
2017-05-16 15:18:15 +02:00
Andy Patterson b4c9f0c50d
build-system/asdf: Parameterize the lisp type and implementation globally.
* guix/build-system/asdf.scm (asdf-build)[builder]: Parameterize %lisp-type
and %lisp before invoking the build procedure. Don't pass #:lisp-type as an
argument to said procedure.
* guix/build/asdf-build-system.scm: Adjust accordingly.
(source-install-prefix): Rename to %lisp-source-install-prefix.
* guix/build/lisp-utils.scm: Adjust accordingly.
(%lisp-type): New parameter.
(bundle-install-prefix): Rename to %bundle-install-prefix.
* gnu/packages/lisp.scm: Adjust accordingly.
2017-05-16 15:18:15 +02:00
Andy Patterson 6de91ba2a1
build-system/asdf: Make #:lisp a package argument.
* guix/build-system/asdf.scm (lower): Change argument name to `lisp-type'.
(asdf-build): Change argument name to `lisp-type'.  Remove `lisp' as an
argument to the returned procedure.  Change the argument passed to build
phases to `lisp-type'.
* guix/build/asdf-build-system.scm (copy-source, build, check)
(create-asd-file, symlink-asd-files, cleanup-files, strip): Respect
`lisp-type` argument.
* gnu/packages/lisp.scm (sbcl-stumpwm, sbcl-stumpwm+slynk): Likewise.
2017-05-16 15:18:15 +02:00
Andy Patterson 0e1371be09
build-system/asdf: Don't rename inputs.
* guix/build-system/asdf.scm (package-with-build-system)[transform]: Use updated
`new-inputs' procedure for inputs and native-inputs.
<rewrite>: Don't rename inputs.
<new-propagated-inputs>: Draw from package-inputs and package-native-inputs
for source packages.  Use the original package's propagated-inputs otherwise.
<new-inputs>: Convert into a function to be used to transform inputs and
native-inputs.
* gnu/packages/lisp.scm (sbcl-fiveam, sbcl-bordeaux-threads)
(sbcl-flexi-streams, sbcl-cl-ppcre, sbcl-stumpwm, sbcl-slynk-arglists)
(sbcl-slynk-fancy-inspector): Don't prefix input names.
2017-05-16 15:18:14 +02:00
Andy Patterson 35189728cd
build-system/asdf: Use asdf to determine dependencies.
This removes the need for conventions to determine which inputs are run-time
dependencies, and also the need to specify "special" dependencies.

* guix/build/lisp-utils.scm (patch-asd-file, lisp-dependencies)
(wrap-perform-method): Remove them.
(inputs->asd-file-map, system-dependencies, generate-system-definition)
(generate-dependency-links, make-asd-file): New procedures.
(lisp-eval-program): Add an error if no lisp matches.
(compile-system): Don't use asdf's in-built asd-file generator.
2017-05-16 15:18:14 +02:00
Andy Patterson 290bf612bb
gnu: cl-stumpwm: Build the library in "lib" and the program in "bin".
* gnu/packages/lisp.scm (sbcl-stumpwm)[outputs]: Remove "bin" and add "lib".
[arguments]<#:phases>: Change the target of `build-program' to the "out"
output. Likewise, change the target of the desktop file generation.
(sbcl-stumpwm+slynk)[inputs]: Use the "lib" output of sbcl-stumpwm.
2017-05-16 15:18:14 +02:00
Andy Patterson 75e8b3af69
gnu: cl-slynk: Explain some naming choices.
* gnu/packages/lisp.scm (sbcl-slynk-boot0): Add comments explaining its
purpose and the reason its package-name must differ from its name.
2017-05-16 15:18:13 +02:00
Andy Patterson 14afc7b89c
gnu: cl-slynk: Clarify the description.
* gnu/packages/lisp.scm (sbcl-slynk-boot0)[description]: Describe slime.
2017-05-16 15:18:13 +02:00
Sergei Trofimovich f0b7dc7ede
gnu: sbcl: Add missing '#:modules' imports.
Fixes <https://bugs.gnu.org/26843>.

* gnu/packages/lisp.scm (sbcl): Add missing '#:modules' imports.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-05-09 17:52:39 +02:00
Efraim Flashner dc00f63527
gnu: femtolisp: Remove aarch64-linux from supported-architectures.
* gnu/packages/lisp.scm (femtolisp)[supported-systems]: Remove
aarch64-linux from supported-systems.
2017-04-30 13:03:09 +03:00
Efraim Flashner 1803f2493e
gnu: gcl: Use 'modify-phases' syntax.
* gnu/packages/lisp.scm (gcl)[arguments]: Use 'modify-phases' syntax.
2017-04-10 05:38:44 +03:00
Efraim Flashner 47fb74aebc
gnu: gcl: Clean up inputs.
* gnu/packages/lisp.scm (gcl)[arguments]: Remove readline substitution,
correctly substitute '/bin/sh' calls.
[inputs]: Add gmp, readline.
[native-inputs]: Remove readline.
2017-04-10 05:38:43 +03:00
Efraim Flashner 5c7815f205
gnu: gcl: Build with gcc@4.9.
* gnu/packages/lisp.scm (gcl)[native-inputs]: Add gcc@4.9.
2017-04-10 05:38:42 +03:00
Leo Famulari 7bf837fd43
gnu: Use HTTPS URLs for GitHub home-pages.
* gnu/packages/bioinformatics.scm, gnu/packages/emacs.scm,
gnu/packages/haskell.scm, gnu/packages/libffi.scm, gnu/packages/lisp.scm,
gnu/packages/ocaml.scm, gnu/packages/openstack.scm, gnu/packages/python.scm,
gnu/packages/ruby.scm, gnu/packages/shells.scm, gnu/packages/statistics.scm,
gnu/packages/xdisorg.scm: Use HTTPS URLs for all packages with a home-page on
GitHub.
2017-04-02 20:00:51 -04:00
Andy Patterson 58b240783c
gnu: ccl: Forcibly set CCL_DEFAULT_DIRECTORY.
* gnu/packages/lisp.scm (ccl)[arguments]: Unconditionally set the
CCL_DEFAULT_DIRECTORY environment variable in the wrapper script.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-03-30 11:15:17 +02:00
Andy Patterson fc7d5a34d0
gnu: ccl: Install included libraries.
* gnu/packages/lisp.scm (ccl)[arguments]: Add 'srfi-26' to '#:modules', and
copy the included libraries to the output in the 'install' phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-03-30 11:15:17 +02:00
Tobias Geerinckx-Rice 6fd52309b8
gnu: Use HTTPS for almost all gnu.org HOME-PAGEs.
All HTTP gnu.org (and supported subdomain) HOME-PAGEs changed to HTTPS.
2017-03-30 01:30:16 +02:00
Andy Patterson 108f69c448
gnu: ecl: Update to 16.1.3.
* gnu/packages/lisp.scm (ecl): Update to 16.1.3.
[arguments]: Use a different method to set the binary used for tests.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-03-12 23:47:40 -04:00
ng0 05c638984d
gnu: Add lush2.
* gnu/packages/lisp.scm (lush2): New variable.

Signed-off-by: Kei Kebreau <kei@openmailbox.org>
2017-02-28 23:21:38 -05:00
Ricardo Wurmus bdeecf5664
gnu: sbcl-stumpwm: Update to 1.0.0.
* gnu/packages/lisp.scm (sbcl-stumpwm): Update to 1.0.0.
2017-01-15 12:02:44 +01:00
Ricardo Wurmus c26ba570cc
gnu: clisp: Remove timestamps.
* gnu/packages/lisp.scm (clisp)[arguments]: Add "remove-timestamps"
phase to remove "__DATE__" and "__TIME__".
2017-01-01 13:55:50 +01:00
Ricardo Wurmus 636c77d066
gnu: clisp: Use modify-phases syntax.
* gnu/packages/lisp.scm (clisp)[arguments]: Use modify-phases syntax.
2017-01-01 13:55:50 +01:00
Andy Patterson c25a51d5c6
gnu: clisp: Use readline@6.2.
* gnu/packages/lisp.scm (clisp)[inputs]: Use readline-6.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-13 13:00:44 +01:00
Andy Patterson 96784438f5
gnu: Add sbcl-stumpwm-with-slynk.
* gnu/packages/lisp.scm (sbcl-stumpwm+slynk): New variable.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-10-08 21:20:36 +08:00
Andy Patterson e3e171ee81
gnu: Add cl-slynk.
* gnu/packages/lisp.scm (cl-slynk, sbcl-slynk, ecl-slynk): New
variables.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-10-08 21:20:36 +08:00
Andy Patterson d075960f60
gnu: Add cl-stumpwm.
* gnu/packages/lisp.scm (cl-stumpwm, sbcl-stumpwm, ecl-stumpwm): New
variables.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-10-08 21:20:35 +08:00
Andy Patterson 4b51b21ccf
gnu: Add cl-clx.
* gnu/packages/lisp.scm (cl-clx, sbcl-clx, ecl-clx): New variables.
* gnu/packages/patches/clx-remove-demo.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-10-08 21:20:35 +08:00
Andy Patterson 5aa608a7e8
gnu: Add cl-ppcre.
* gnu/packages/lisp.scm (cl-ppcre, sbcl-cl-pprcre, ecl-cl-pprcre): New
variables.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-10-08 21:20:35 +08:00
Andy Patterson 3c55c780f9
gnu: Add cl-flexi-streams.
* gnu/packages/lisp.scm (cl-flexi-streams, sbcl-flexi-streams)
(ecl-flexi-streams): New variables.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-10-08 21:20:35 +08:00
Andy Patterson 059cab307f
gnu: Add cl-trivial-gray-streams.
* gnu/packages/lisp.scm (cl-trivial-gray-streams)
(sbcl-trivial-gray-streams, ecl-trivial-gray-streams): New variables.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-10-08 21:20:35 +08:00
Andy Patterson 8662809d1b
gnu: Add cl-bordeaux-threads.
* gnu/packages/lisp.scm (cl-bordeaux-threads, sbcl-bordeaux-threads)
(ecl-bordeaux-threads): New variables.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-10-08 21:20:35 +08:00
Andy Patterson 86022c926b
gnu: Add cl-fiveam.
* gnu/packages/lisp.scm (cl-fiveam, sbcl-fiveam, ecl-fiveam): New
variables.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-10-08 21:20:35 +08:00
Andy Patterson a72debb7cc
gnu: Add cl-alexandria.
* gnu/packages/lisp.scm (cl-alexandria, sbcl-alexandria)
(ecl-alexandria): New variables.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-10-08 21:20:35 +08:00
Andy Patterson fb7dc6d647
gnu: ecl: Honour XDG_DATA_DIRS/ecl-bundle-systems.
* gnu/packages/lisp.scm (ecl)[source]: Add snippet.
[native-search-paths]: Add XDG_DATA_DIRS.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-10-06 20:33:55 +08:00
Andy Patterson 8d0489aeb6
gnu: sbcl: Honour XDG_DATA_DIRS/sbcl-bundle-systems.
* gnu/packages/lisp.scm (asdf-substitutions): New variable.
(sbcl)[source]: Add snippet.
[native-search-paths]: Add XDG_DATA_DIRS.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-10-06 20:33:55 +08:00
ng0 81d5a62fb1
gnu: Remove lispf4.
The package in its current state is unusable and documentation with unclear
licenses is included.

Also, the file 'lispf42.c' (and possible others) is generated C code and
thus not "source code" as we define it.

* gnu/packages/lisp.scm (lispf4): Delete variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-10-05 16:23:56 -04:00
ng0 419fb3f1ac
gnu: femtolisp: Don't build on mips64el or armhf.
* gnu/packages/lisp.scm (femtolisp)[supported-systems]: New field,
remove support for mips64el and armhf.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-09-27 12:29:35 -04:00
ng0 f7fe5f7a3e
gnu: femtolisp: Remove custom "patch-makefile" phase.
* gnu/packages/lisp.scm (femtolisp)[arguments]: Remove
"patch-makefile" phase; specify test target; build "release"
target instead of "default".
2016-09-21 21:28:52 +02:00
ng0 995e5092d8
gnu: Add femtolisp.
* gnu/packages/lisp.scm (femtolisp): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-09-13 15:38:00 -04:00
ng0 0a1d8596fd
gnu: lispf4: Remove unused inputs key.
* gnu/packages/lisp.scm (lispf4)[arguments]: Remove unused
inputs key from 'install' phase.
[source](file-name): Append "-checkout" to the file-name.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-09-13 15:00:02 -04:00
Mark H Weaver 536fc5f8cd
Merge branch 'core-updates' 2016-08-04 08:17:05 -04:00
Mark H Weaver 0832787e5c
Revert "Merge branch 'core-updates'"
This reverts commit 455859a50f.
2016-08-04 08:16:38 -04:00