summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2019-12-18 22:45:53 -0600
committerEric Bavier <bavier@member.fsf.org>2019-12-18 22:57:44 -0600
commita7cdf124c0b28be6c4e750161c1341753eede7b8 (patch)
tree8f90b29b09e0a8d3fe5c347a92e717d657e0bd15
parent952820c53964a3ee6fdca94e15771eb1097c87be (diff)
downloadguix-a7cdf124c0b28be6c4e750161c1341753eede7b8.tar.gz
gnu: leocad: Update to 19.07.1.
* gnu/packages/lego.scm (leocad): Update to 19.07.1
[source]: Use git-fetch.
* .mailmap: Add preferred alias for myself.
-rw-r--r--.mailmap1
-rw-r--r--gnu/packages/lego.scm16
2 files changed, 10 insertions, 7 deletions
diff --git a/.mailmap b/.mailmap
index af3f0e9508..d5578d10ce 100644
--- a/.mailmap
+++ b/.mailmap
@@ -23,6 +23,7 @@ David Thompson <davet@gnu.org> <dthompson@member.fsf.org>
 David Thompson <davet@gnu.org> <dthompson@vistahigherlearning.com>
 Deck Pickard <deck.r.pickard@gmail.com> <nebu@kipple>
 Eric Bavier <bavier@member.fsf.org> <ericbavier@gmail.com>
+Eric Bavier <bavier@member.fsf.org> <bavier@posteo.net>
 Eric Dvorsak <eric@dvorsak.fr> <yenda1@gmail.com>
 George Clemmer <myglc2@gmail.com>
 ison <ison@airmail.cc> <ison111@protonmail.com>
diff --git a/gnu/packages/lego.scm b/gnu/packages/lego.scm
index 3203e1c9b4..396b37ddd9 100644
--- a/gnu/packages/lego.scm
+++ b/gnu/packages/lego.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016, 2017 Eric Bavier <bavier@member.fsf.org>
+;;; Copyright © 2016, 2017, 2019 Eric Bavier <bavier@posteo.net>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -20,6 +20,7 @@
 (define-module (gnu packages lego)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix packages)
   #:use-module (guix build-system gnu)
   #:use-module (gnu packages)
@@ -73,15 +74,16 @@ restrictions that stem from limitations of the standard RCX firmware.")
 (define-public leocad
   (package
     (name "leocad")
-    (version "18.02")
+    (version "19.07.1")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/leozide/leocad/"
-                                  "archive/v" version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/leozide/leocad.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "189wj221fn08bnsfwy8050bxkjgjwinkn19qdcvb6c2ry2lnfra9"))))
+                "02kv1m18g6s4dady9jv4sjivfkrp192bmdw2a3d9lzlp60zks0p2"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("qttools" ,qttools)))           ; for lrelease