Commit Graph

45589 Commits

Author SHA1 Message Date
Robert Vollmert ed8d3f33a5
build-system/haskell: Generate Setup.hs if needed.
The default Setup.hs is boilerplate that is frequently left out of
source packages.  Several packages already add a phase to generate it,
so moving this phase to the build system is just factoring out an
existing pattern.

See <https://github.com/phadej/time-compat/issues/4>.

* guix/build/haskell-build-system.scm (generate-setuphs): New procedure.
(%standard-phases): Add it after 'unpack'.
* gnu/packages/haskell.scm (ghc-foundation, ghc-inline-c,
ghc-inline-c-cpp, ghc-rio): Remove 'arguments'.

Signed-off-by: Timothy Sample <samplet@ngyro.com>
2019-06-13 13:30:24 -04:00
Robert Vollmert 5f9f2c82e6
build-system/haskell: Fix Haddock phase docstring.
* guix/build/haskell-build-system.scm (haddock): Fix docstring.

Signed-off-by: Timothy Sample <samplet@ngyro.com>
2019-06-13 13:30:23 -04:00
Marius Bakke f388f4a568
Merge branch 'staging' 2019-06-13 15:27:30 +02:00
Marius Bakke 2a9d89afb6
gnu: gstreamer: Skip failing test on 32-bit systems.
* gnu/packages/gstreamer.scm (gstreamer)[arguments]: When building for a
32-bit system, add #:phases.
2019-06-13 14:08:32 +02:00
Nicolas Goaziou 3745909dc9
gnu: Add ri-li.
* gnu/packages/games.scm (ri-li): New variable.
* gnu/packages/patches/ri-li-modernize_cpp.patch: New file.
* gnu/local.mk (dist_patch_DATA): Reference patch.
2019-06-13 13:59:58 +02:00
Carlo Zancanaro 47f2168b6f
gnu: Add Kawa.
* gnu/packages/kawa.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2019-06-13 13:00:37 +02:00
Ludovic Courtès 0ddf17dc1a
gnu; emacs-realgud: Add a 'file-name' field to the origin.
* gnu/packages/emacs-xyz.scm (emacs-realgud)[source]: Add 'file-name'.
2019-06-13 13:00:37 +02:00
Brian Leung 0882c491f0
gnu: emacs-realgud: Update to 1.5.0.
* gnu/packages/emacs-xyz.scm (emacs-realgud): Update to 1.5.0.
[source]: Fetch from git.
Remove upstreamed patch.
* gnu/packages/patches/emacs-realgud-fix-configure-ac.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-13 13:00:37 +02:00
Ludovic Courtès ed8a551653
gnu: gpxsee: Fetch from Git instead of a generated tarball.
* gnu/packages/gps.scm (gpxsee)[source]: Use 'git-fetch'.
2019-06-13 13:00:37 +02:00
Nikolay Korotkiy 286ef5d97c
gnu: gpxsee: Upgrade to 7.8
* gnu/packages/gps.scm (gpxsee): Update to 7.8.
[arguments]: Leave "config.h" unchanged in 'configure' phase.
Remove 'install' phase.
[home-page, synopsis, description]: Update.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-13 13:00:37 +02:00
Ludovic Courtès b801646727
gnu: nyacc: Add 0.94.0.
* gnu/packages/mes.scm (nyacc): Rename to...
(nyacc-0.86): ... this.
(nyacc): New variable.
(mes)[propagated-inputs]: Use NYACC-0.86 instead of NYACC.
2019-06-13 13:00:36 +02:00
Nicolas Goaziou 4d6d2d7cca
gnu: gimp: Update to 2.10.12.
* gnu/packages/gimp.scm (gimp): Update to 2.10.12.
2019-06-13 12:52:55 +02:00
Nicolas Goaziou 42b641b7d8
gnu: babl: Update to 0.1.66.
* gnu/packages/gimp.scm (babl): Update to 0.1.66.
2019-06-13 12:52:40 +02:00
LaFreniere, Joseph aa86c3adbd
gnu: emacs-perspective: Update to 2.2.
* gnu/packages/emacs-xyz.scm (emacs-perspective): Update to 2.2.
[source]: Download using git-fetch.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2019-06-13 10:46:24 +03:00
Efraim Flashner e22edabbb5
gnu: gpodder: Only return #t when needed.
* gnu/packages/gpodder.scm (gpodder)[arguments]: Return #t from
'do-not-run-msgmerge. Don't return #t from 'install.
2019-06-13 09:35:08 +03:00
Pierre Langlois 2bb078efe5
gnu: gpodder: Update to 3.10.9.
* gnu/packages/gpodder.scm (gpodder): Update to 3.10.9.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2019-06-13 09:29:27 +03:00
Tobias Geerinckx-Rice 5cc5364eba
gnu: dstat: Add python2-six.
* gnu/packages/admin.scm (dstat)[inputs]: Add python2-six.
[arguments]: Add ‘wrap’ phase to make dstat find required modules.
2019-06-13 02:26:21 +02:00
Ludovic Courtès 76533c52c0
daemon: Replace "illegal" by "invalid" in error messages.
* nix/libstore/build.cc (parseReferenceSpecifiers): Replace "illegal" by
"invalid".
* nix/libstore/globals.cc (Settings::pack): Likewise.
* nix/libstore/store-api.cc (checkStoreName): Likewise.
2019-06-13 00:44:01 +02:00
Florian Pelz bd9b15fb31
gnu: Add USB_ModeSwitch.
* gnu/packages/usb-modeswitch.scm: New file.
* gnu/packages/patches/usb-modeswitch-accept-config-arg.patch: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add package.
  (dist_patch_DATA): Add patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-13 00:44:01 +02:00
Jan Nieuwenhuizen f0de9544a3
gnu: Add emacsy.
* gnu/packages/guile-xyz.scm (emacsy): New variable.
2019-06-12 23:31:43 +02:00
Leo Famulari ff22ff42a1
gnu: GParted: Update 1.0.0.
* gnu/packages/disk.scm (gparted): Update to 1.0.0.
[arguments]: Remove obsolete configure flag.
[inputs]: Use gtkmm@3. Add yelp-tools and itstool. Remove libxslt,
gnome-doc-utils, docbook-xml-4.2, python-2, python2-libxml2, and which.
[native-inputs]: Add lvm2.
2019-06-12 15:46:53 -04:00
Mark H Weaver ac72162efd
gnu: linux-libre: Update to 5.1.9.
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.1.9.
(%linux-libre-hash): Update hash.
2019-06-12 13:05:09 -04:00
Mark H Weaver 6a2d0191c6
gnu: linux-libre@4.19: Update to 4.19.50.
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.50.
(%linux-libre-4.19-hash): Update hash.
2019-06-12 13:03:53 -04:00
Mark H Weaver 7ef05bcf4b
gnu: linux-libre@4.14: Update to 4.14.125.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.125.
(%linux-libre-4.14-hash): Update hash.
2019-06-12 13:01:12 -04:00
Mark H Weaver 07b7a45a49
gnu: linux-libre@4.9: Update to 4.9.181.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.181.
2019-06-12 13:00:33 -04:00
Mark H Weaver a542521a70
gnu: linux-libre@4.4: Update to 4.4.181.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.181.
2019-06-12 12:59:50 -04:00
Julien Lepiller 88b696ef27
doc: Improve tarball extraction example. 2019-06-12 18:52:42 +02:00
Christopher Baines 2916deb91b
gnu: perl-io-socket-ssl: Update to 2.066.
The previous version failed to build, but this updated version does build
successfully.

* gnu/packages/web.scm (perl-io-socket-ssl): Update to 2.066.
2019-06-12 17:49:23 +01:00
Julien Lepiller 24d32e67db
gnu: Add python-pynvim.
* gnu/packages/vim.scm (python-pynvim, python2-pynvim): New variables.
2019-06-12 18:48:15 +02:00
Tobias Geerinckx-Rice 79d19d7d90
services: Import (srfi srfi-26) from the build side.
See <https://lists.gnu.org/archive/html/guix-devel/2019-06/msg00119.html>.

* gnu/services/nix.scm (nix-activation): Remove (srfi srfi-26) from (host-)
imported modules.
2019-06-12 17:26:28 +02:00
Ricardo Wurmus 798b80cea2
gnu: Add r-txdb-hsapiens-ucsc-hg38-knowngene.
* gnu/packages/bioconductor.scm (r-txdb-hsapiens-ucsc-hg38-knowngene): New variable.
2019-06-12 16:23:44 +02:00
Marius Bakke 136eeb0b49
gnu: ungoogled-chromium: Update to 75.0.3770.80-0.5d8abc3.
* gnu/packages/chromium.scm (%preserved-third-party-files): Update for 75.
(%chromium-version): Update to 75.0.3770.80.
(%ungoogled-revision): Update to 5d8abc38b43a62f379615a0dc972b29d9aebb4b4.
(%debian-revision): Update to debian/75.0.3770.80-1.
(%chromium-origin, %ungoogled-origin, %debian-origin): Update hashes.
(ungoogled-chromium-source): Include Debians GCC6 patches.
(ungoogled-chromium)[arguments]: Add "enable_vr=false" to #:configure-flags.
2019-06-12 13:29:45 +02:00
Marius Bakke d0804ea0c6
gnu: chromium: Move origins into separate variables.
* gnu/packages/chromium.scm (%chromium-origin, %ungoogled-origin,
%debian-origin): New variables.
(ungoogled-chromium-source): Adjust accordingly.
2019-06-12 13:29:35 +02:00
Ricardo Wurmus 6054c823ae
gnu: pigx-rnaseq: Update to 0.0.6.
* gnu/packages/bioinformatics.scm (pigx-rnaseq): Update to 0.0.6.
[inputs]: Remove bedtools.
2019-06-12 13:12:00 +02:00
Efraim Flashner e38731138d
gnu: wget.scm: List inputs alphabetically.
* gnu/packages/wget.scm: List inputs alphabetically.
2019-06-12 12:58:34 +03:00
Efraim Flashner d7397187df
gnu: wget: Change default paste site.
* gnu/packages/wget.scm (wgetpaste)[arguments]: Change default paste
site in custom 'remove-dead-paste-site phase.
2019-06-12 12:58:33 +03:00
Efraim Flashner 08b00d384b
gnu: wgetpaste: Add xclip to wrapper program list.
* gnu/packages/wget.scm (wgetpaste)[arguments]: Add xclip to list of
wrapper programs in custom 'wrap-program phase.
[inputs]: Add xclip.
2019-06-12 12:58:33 +03:00
Ricardo Wurmus ae6fa185af
gnu: Add r-annotatr.
* gnu/packages/bioconductor.scm (r-annotatr): New variable.
2019-06-12 11:07:37 +02:00
Ivan Petkov 2444abd9c1
gnu: crate: Add proc-macro2 and quote.
* gnu/packages/crates-io.scm: (rust-proc-macro2): New variable.
(rust-quote): New variable.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2019-06-11 18:05:44 -07:00
Ivan Petkov cb2471f726
gnu: crate: Add unicode-xid.
* gnu/local.mk: (GNU_SYSTEM_MODULES): Add packages/crates-io.scm.
* gnu/packages/crates-io.scm: New file, containing unicode-xid.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2019-06-11 18:05:44 -07:00
Ivan Petkov 5a9ef8a960
import: crate: Define dependencies as arguments.
* guix/import/crate.scm:
(crate-fetch)[input-crates]: Rename to dev-crates.
[native-input-crates]: Rename to dev-dep-crates.
[inputs]: Rename to cargo-inputs.
[native-inputs]: Rename to cargo-development-inputs.
(maybe-cargo-inputs, maybe-cargo-development-inputs, maybe-arguments): Add
them.
(make-crate-sexp)[inputs]: Rename to cargo-inputs.
[native-inputs]: Rename to cargo-development-inputs.
[maybe-native-inputs, maybe-inputs]: Replace with maybe-arguments.
* guix/import/utils.scm: (package-names->package-inputs): Make public.  Add
docstring.
* tests/crate.scm (crate->guix-package): Update the match pattern.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2019-06-11 18:05:44 -07:00
Ivan Petkov 8a290772a4
doc: Update cargo-build-system parameter docs.
* doc/guix.texi: (Build Systems)[cargo-build-system]: Add references to
the #:rust, #:cargo-inputs, and #:cargo-development-inputs parameters.
Remove reference to installing crate sources.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2019-06-11 18:05:44 -07:00
Ivan Petkov d608e231e3
build-system/cargo: Don't copy source as an output.
* guix/build-system/cargo.scm: (cargo-build)[build-expression->derivation]:
Don't add "src" output.
* guix/build/cargo-build-system.scm: (install-source): Delete it.
(%standard-phases): Delete 'install-source.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2019-06-11 18:05:44 -07:00
Ivan Petkov efdf2ae14e
build-system/cargo: Use sources from package sources.
* guix/build/cargo-build-system.scm (crate-src?): New procedure.
(configure): Use the new procedure to expand crate tarballs in the vendor
directory.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2019-06-11 18:05:44 -07:00
Ivan Petkov a6ab6b7877
build-system/cargo: Expand transitive crate sources.
* guix/build/cargo: (package-cargo-inputs): Add it.
(package-cargo-development-inputs): Add it.
(crate-closure): Add it.
(expand-crate-sources): Add it.
(lower)[private-keywords]: Add #:cargo-inputs and
[bag]: Use expand-crate-sources to augment build-inputs.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2019-06-11 18:05:41 -07:00
Amar Singh a38525789c
gnu: Add emacs-shroud.
* gnu/packages/emacs-xyz.scm (emacs-shroud): New variable.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2019-06-11 22:35:26 +02:00
Tobias Geerinckx-Rice 2be6b5e2ee
services: Add SRFI-26 to Nix activation gexp.
Fix the following fatal error on ‘guix system reconfigure’:

Backtrace:
          18 (primitive-load "/home/nckx/.config/guix/current/bin/guix")
In guix/ui.scm:
  1620:12 17 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    829:9 16 (catch _ _ #<procedure 7a7caa2d4c80 at guix/ui.scm:587:2 (key c)> _)
    829:9 15 (catch _ _ #<procedure 7a7caa2d4c98 at guix/ui.scm:710:6 (key proc format-string format-args . …> …)
In guix/scripts/system.scm:
   1325:8 14 (_)
In guix/status.scm:
    768:4 13 (call-with-status-report _ _)
In guix/scripts/system.scm:
   1181:4 12 (process-action _ _ _)
In guix/store.scm:
   623:10 11 (call-with-store _)
  1800:24 10 (run-with-store _ _ #:guile-for-build _ #:system _ #:target _)
In guix/scripts/system.scm:
   920:13  9 (_ _)
    409:8  8 (_ _)
In unknown file:
           7 (primitive-load "/gnu/store/dha7j9gcz3vgb8cy7vfvvaswwsywrrzj-activate")
In ice-9/boot-9.scm:
   260:13  6 (for-each #<procedure primitive-load (_)> _)
In unknown file:
           5 (primitive-load "/gnu/store/ql1xjxrssxm51z2bn2v6l3mlrncij84h-activate-service")
In ice-9/eval.scm:
    619:8  4 (_ #f)
   196:35  3 (_ #f)
   196:27  2 (_ #f)
   223:20  1 (proc #<directory (guile-user) 1fa4140>)
In unknown file:
           0 (%resolve-variable (7 . cut) #<directory (guile-user) 1fa4140>)

ERROR: In procedure %resolve-variable:
error: cut: unbound variable

Reported-by: Alex McGrath on #guix.

* gnu/services/nix.scm (nix-activation): Import and use (srfi srfi-26).
2019-06-11 21:05:32 +02:00
Christopher Lemmer Webber 948ecc27dd
gnu: racket: Update to 7.3.
* gnu/packages/scheme.scm (racket): Update to 7.3.
* gnu/packages/patches/racket-store-checksum-override.patch: Update for Racket
  7.3.
2019-06-11 13:45:27 -04:00
Ricardo Wurmus 944cb87a33
gnu: Add r-psiplot.
* gnu/packages/bioinformatics.scm (r-psiplot): New variable.
2019-06-11 13:39:50 +02:00
Marius Bakke 58bf51b4c0
Merge branch 'master' into staging 2019-06-11 10:27:09 +02:00