Commit Graph

6187 Commits

Author SHA1 Message Date
David Thompson 7578f6e32a build: ruby: Set $GEM_HOME that matches Ruby's $GEM_PATH.
* guix/build/ruby-build-system.scm (install): Ignore the Ruby patch version
  when creating $GEM_HOME.
2015-03-17 19:23:17 -04:00
Ludovic Courtès 5250a4f215 services: guix-service: Remove extraneous monadism.
* gnu/services/base.scm (guix-build-accounts): Remove unneeded
  'with-monad'.
  (guix-service): Adjust accordingly.
2015-03-17 22:25:55 +01:00
Ludovic Courtès ff40e9b7e5 gexp: Move the package and origin compilers to (guix packages).
From now own, (guix packages) depends on (guix gexps); it was the other
way around now.  This means that (guix packages) code can use gexps.

* guix/gexp.scm (origin-compiler, package-compiler): Remove.
  (default-guile-derivation): New procedure.
  (gexp->derivation): Use it instead of 'default-guile' +
  'package->derivation'.
* guix/packages.scm (default-guile-derivation): New procedure.
  (package-compiler, origin-compiler): New variables.
* doc/guix.texi (G-Expressions): Mention extensibility.
2015-03-17 22:25:55 +01:00
Ludovic Courtès 9d8100f4c7 packages: Move grafting parameter to (guix derivations).
* guix/packages.scm (%graft?, set-grafting): Move to...
* guix/derivations.scm: ... here.
2015-03-17 22:25:55 +01:00
Ludovic Courtès bcb1328763 gexp: Separate "compilers" for origins and packages from the core.
* guix/gexp.scm (<gexp-compiler>): New record type.
  (%gexp-compilers): New variable.
  (register-compiler!, lookup-compiler): New procedures.
  (define-gexp-compiler): New macro.
  (origin-compiler, package-compiler): New compilers.
  (lower-inputs): Remove clauses for 'origin?' and 'package?'.  Add
  clause with 'lookup-compiler' instead.
  (lower-references): Likewise.
  (gexp-inputs)[add-reference-inputs]: Likewise.
  (gexp->sexp)[reference->sexp]: Likewise.
2015-03-17 22:25:54 +01:00
Ludovic Courtès a482cfdcae gexp: Remove special meaning of forms (PACKAGE OUTPUT) in ungexp.
* guix/gexp.scm (gexp-inputs)[add-reference-inputs]: Remove clause for
  inputs of the form (PACKAGE OUTPUT).
  (gexp->sexp)[reference->sexp]: Likewise.
* tests/gexp.scm ("input list splicing"): Change 'list' to 'gexp-input'
  for glibc:debug.
  ("text-file*"): Likewise for %bootstrap-guile:out.
  ("input list splicing + gexp-input + ungexp-native-splicing"): Remove,
  now redundant.
2015-03-17 22:25:54 +01:00
Ludovic Courtès b4a4bec01a profiles: Use 'gexp-input' instead of two-element lists.
* guix/profiles.scm (package->manifest-entry): Use 'gexp-input' instead
  of two-element lists to denote specific package outputs.
  (manifest-inputs): Likewise.
  (profile-derivation)[info-dir]: Likewise.
2015-03-17 22:25:54 +01:00
Ludovic Courtès 0dbea56bbf gexp: Export 'gexp-input' constructor.
* guix/gexp.scm (<gexp-input>)[gexp-input]: Rename to...
  [%gexp-input]: ... this.  Adjust callers accordingly.
  (gexp-input): New procedure.
  (gexp-inputs)[add-reference-inputs]: When the input is a list, check
  whether each item is already 'gexp-input?' and to not rewrap those.
  (gexp-outputs)[add-reference-output]: Likewise.
  (gexp->sexp): Likewise.
* tests/gexp.scm ("input list splicing + gexp-input +
  ungexp-native-splicing"): New test.
2015-03-17 22:25:54 +01:00
Ludovic Courtès e39d146107 gexp: Add <gexp-input>.
* guix/gexp.scm (<gexp-input>): New record type.
  (gexp-inputs)[add-reference-inputs]: Adjust clauses to expect
  <gexp-input> objects.
  (gexp-outputs)[add-reference-output]: Likewise.
  (gexp->sexp)[reference->sexp]: Likewise.
  (canonicalize-reference): Remove.
  (gexp)[escape->ref]: Use 'gexp-input' for all the references.
  Remove use of 'canonicalize-reference'.
2015-03-17 22:25:54 +01:00
Ludovic Courtès 1e87da58a1 gexp: Rename <output-ref> to <gexp-output>.
* guix/gexp.scm (<output-ref>): Rename to...
  (<gexp-output>): ... this.  Adjust constructor/accessor names and
  users accordingly.
2015-03-17 22:25:54 +01:00
Ludovic Courtès 1f9760339e tests: Add an indirection for white-box testing.
* tests/gexp.scm (gexp-inputs, gexp-native-inputs, gexp-outputs,
  gexp->sexp): Make an indirection, to facilitate live testing with
  Geiser.
2015-03-17 22:25:54 +01:00
Eric Bavier 708155dfcb gnu: Add DBIx-Class-Schema-Loader.
* gnu/packages/databases.scm (perl-dbix-class-schema-loader): New variable.
2015-03-17 13:03:51 -05:00
Eric Bavier f3bbbb7361 gnu: Add String-ToIdentifier-EN.
* gnu/packages/language.scm (perl-string-toidentifier-en): New variable.
2015-03-17 13:03:51 -05:00
Eric Bavier ad0a50e3ad gnu: Add Text-Unidecode.
* gnu/packages/perl.scm (perl-text-unidecode): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 06f5001a5a gnu: Add String-CamelCase.
* gnu/packages/perl.scm (perl-string-camelcase): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier cfed969c73 gnu: Add Lingua-EN-Inflect-Phrase.
* gnu/packages/language.scm (perl-lingua-en-inflect-phrase): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier d7de088395 gnu: Add Lingua-EN-Tagger.
* gnu/packages/language.scm (perl-lingua-en-tagger): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 9766e4fef1 gnu: Add Lingua-Stem.
* gnu/packages/language.scm (perl-lingua-stem): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 2b83abae53 gnu: Add Text-German.
* gnu/packages/language.scm (perl-text-german): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 1f4b1129dc gnu: Add Snowball-Swedish.
* gnu/packages/language.scm (perl-snowball-swedish): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 1064abdc42 gnu: Add Snowball-Norwegian.
* gnu/packages/language.scm (perl-snowball-norwegian): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 30c400446c gnu: Add Lingua-Stem-Snowball-Da.
* gnu/packages/language.scm (perl-lingua-stem-snowball-da): New
  variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 95d2eec1a8 gnu: Add Lingua-Stem-Ru.
* gnu/packages/language.scm (perl-lingua-stem-ru): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 6afe59593b gnu: Add Lingua-Stem-It.
* gnu/packages/language.scm (perl-lingua-stem-it): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier df11e05241 gnu: Add Lingua-Stem-Fr.
* gnu/packages/language.scm (perl-lingua-stem-fr): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 9b446711e7 gnu: Add Lingua-PT-Stemmer.
* gnu/packages/language.scm (perl-lingua-pt-stemmer): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier f8f744a8d1 gnu: Add Memoize-ExpireLRU.
* gnu/packages/perl.scm (perl-memoize-expirelru): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 930768b3e4 gnu: Add Lingua-EN-Number-IsOrdinal.
* gnu/packages/language.scm (perl-lingua-en-number-isordinal): New
  variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 4812a813a2 gnu: Add Lingua-EN-Inflect-Number.
* gnu/packages/language.scm (perl-lingua-en-inflect-number): New
  variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 57ff0e04f1 gnu: Add Lingua-EN-Inflect.
* gnu/packages/language.scm (perl-lingua-en-inflect): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 0c32bf0117 gnu: Add Lingua-EN-FindNumber.
* gnu/packages/language.scm (perl-lingua-en-findnumber): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier fc436dbaea gnu: Add Lingua-EN-Words2Nums.
* gnu/packages/language.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-03-17 13:03:49 -05:00
Eric Bavier 8ac8f1e0c9 gnu: Add Class-Unload.
* gnu/packages/perl.scm (perl-class-unload): New variable.
2015-03-17 13:03:13 -05:00
Eric Bavier 88884196f5 gnu: Add Test-Pod.
* gnu/packages/perl.scm (perl-test-pod): New variable.
2015-03-17 13:03:13 -05:00
Eric Bavier 26d427a5c1 gnu: Add MooseX-NonMoose.
* gnu/packages/perl.scm (perl-moosex-nonmoose): New variable.
2015-03-17 13:03:13 -05:00
Eric Bavier c7a47f5e32 gnu: Add MooseX-MarkAsMethods.
* gnu/packages/perl.scm (perl-moosex-markasmethods): New variable.
2015-03-17 13:03:13 -05:00
Eric Bavier e61fd0f048 gnu: Add DBIx-Class-IntrospectableM2M.
* gnu/packages/databases.scm (perl-dbix-class-introspectablem2m): New
  variable.
2015-03-17 13:03:13 -05:00
Eric Bavier 1846b423e2 gnu: Add Config-General.
* gnu/packages/perl.scm (perl-config-general): New variable.
2015-03-17 13:03:13 -05:00
Ludovic Courtès a29bfc28f0 gnu: Add BRDF Explorer.
* gnu/packages/graphics.scm (brdf-explorer): New variable.
2015-03-17 18:15:51 +01:00
Ludovic Courtès fdbb9ded00 licenses: Add the Ms-PL.
* guix/licenses.scm (ms-pl): New variable.
2015-03-17 18:15:51 +01:00
Tomáš Čech a0db8b4dcc gnu: agg: reverting commit d2c89faa88
commit was still missing gnu-system.am sections and added patches
2015-03-17 16:32:03 +01:00
Tomáš Čech 004eb31859 gnu: Add sdcv.
* gnu/packages/dictionaries.scm (sdcv): New variable.
2015-03-17 16:26:57 +01:00
Tomáš Čech d2c89faa88 gnu: Add agg.
* gnu/packages/graphics.scm (agg): New variable.
2015-03-17 16:26:57 +01:00
Ludovic Courtès b832c6e992 gnu: Add key-mon.
* gnu/packages/key-mon.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-03-17 13:49:18 +01:00
Ludovic Courtès 619936a4c8 gnu: Add python2-rsvg.
* gnu/packages/gnome.scm (python2-rsvg): New variable.
2015-03-17 13:49:18 +01:00
Ludovic Courtès db62afa55a gnu: Add python2-xlib.
* gnu/packages/python.scm (python2-xlib): New variable.
2015-03-17 13:49:18 +01:00
Ricardo Wurmus f767bccabf gnu: Add CUnit.
* gnu/packages/check.scm (cunit): New variable.
2015-03-17 12:30:50 +01:00
Ricardo Wurmus ddd82e0e76 gnu: Add MISO.
* gnu/packages/bioinformatics.scm (miso): New variable.
2015-03-17 12:29:58 +01:00
Ricardo Wurmus 9a8336d87b gnu: Add bwa.
* gnu/packages/bioinformatics.scm (bwa): New variable.
2015-03-17 12:29:51 +01:00
David Thompson 5762f3062c scripts: environment: Improve error messages.
* guix/scripts/environment.scm (guix-environment): Wrap procedure body with
  error handling form.
2015-03-16 19:42:54 -04:00