From 3c85058c0e29fdff5269cff58f43dfbad92259b6 Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Mon, 7 Jan 2019 21:55:27 +0100 Subject: gnu: libnet: Update to 1.2-rc3. * gnu/packages/networking.scm (libnet): Update to 1.2-rc3. [source]: Use git-fetch. --- gnu/packages/networking.scm | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index f7b0b15449..3b0714865d 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -15,7 +15,7 @@ ;;; Copyright © 2017 Mathieu Othacehe ;;; Copyright © 2017 Leo Famulari ;;; Copyright © 2017, 2018, 2019 Efraim Flashner -;;; Copyright © 2017, 2018 Rutger Helling +;;; Copyright © 2017, 2018, 2019 Rutger Helling ;;; Copyright © 2017 Gábor Boskovits ;;; Copyright © 2017 Thomas Danckaert ;;; Copyright © 2018 Adam Van Ymeren @@ -1712,15 +1712,17 @@ (define-public bmon (define-public libnet (package (name "libnet") - (version "1.1.6") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/sam-github/libnet/" - "archive/libnet-" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0l4gbzzvr199fzczzricjz7b825i7dlk6sgl5p5alnkcagmq0xys")))) + (version "1.2-rc3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sam-github/libnet") + (commit (string-append "libnet-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0cy8w4g5rv963v4p6iq3333kxgdddx2lywp70xf62553a25xhhs4")))) (build-system gnu-build-system) (arguments `(#:phases -- cgit v1.2.3