From bbd0ea77ef13965475408c0e6152580cb16fd572 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Mon, 2 Mar 2015 20:33:02 -0500 Subject: [PATCH] gnu: libuv: Update to 1.4.2. * gnu/packages/libevent.scm (libuv): Update to 1.4.2. Update source URI. Add 'file-name' field to origin. Move 'autogen' phase after 'unpack'. Run "sh autogen.sh" instead of "./autogen.sh". --- gnu/packages/libevent.scm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/gnu/packages/libevent.scm b/gnu/packages/libevent.scm index 64892bf878..e23de3a25a 100644 --- a/gnu/packages/libevent.scm +++ b/gnu/packages/libevent.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2014, 2015 Ludovic Courtès +;;; Copyright © 2015 Mark H Weaver ;;; ;;; This file is part of GNU Guix. ;;; @@ -63,22 +64,23 @@ loop.") (define-public libuv (package (name "libuv") - (version "0.11.25") + (version "1.4.2") (source (origin (method url-fetch) - (uri (string-append "https://github.com/joyent/libuv/archive/v" + (uri (string-append "https://github.com/libuv/libuv/archive/v" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ys2wlypdbv59yywn91d5vl329z50mi7ivi3fj5rjm4mr9g3wnmr")))) + "0hdpysawz85zpmsfkcsd1b7bmx53szcir1szbh1w7ldhkpv29r5r")))) (build-system gnu-build-system) (arguments - '(#:phases (alist-cons-before - 'configure 'autogen + '(#:phases (alist-cons-after + 'unpack 'autogen (lambda _ ;; Fashionable people don't run 'make dist' these days, so ;; we need to do that ourselves. - (zero? (system* "./autogen.sh"))) + (zero? (system* "sh" "autogen.sh"))) %standard-phases) ;; XXX: Some tests want /dev/tty, attempt to make connections, etc.