gnu: wxwidgets-3.1: Fetch sources from git.

* gnu/packages/wxwidgets.scm (wxwidgets-3.1)[source]: Fetch from git.
This commit is contained in:
Ricardo Wurmus 2018-11-29 22:07:08 +01:00
parent 940fdd0cbc
commit 3962a04697
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2016, 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Theodoros Foradis <theodoros@foradis.org> ;;; Copyright © 2016 Theodoros Foradis <theodoros@foradis.org>
;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org> ;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org> ;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
@ -26,6 +26,7 @@
(define-module (gnu packages wxwidgets) (define-module (gnu packages wxwidgets)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix l:) #:use-module ((guix licenses) #:prefix l:)
#:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system python) #:use-module (guix build-system python)
@ -140,12 +141,14 @@ (define-public wxwidgets-3.1
(version "3.1.0") (version "3.1.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/wxWidgets/wxWidgets/archive/v" (uri (git-reference
version ".tar.gz")) (url "https://github.com/wxWidgets/wxWidgets.git")
(file-name (string-append "wxwidgets-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name "wxwidgets" version))
(sha256 (sha256
(base32 "1yan5ysjwh6a7xw82sfjd1xn0nsy1dn2s0cx9ac7cw19191blc3y")))) (base32
"14kl1rsngm70v3mbyv1mal15iz2b18k97avjx8jn7s81znha1c7f"))))
(inputs `(("gstreamer" ,gstreamer) (inputs `(("gstreamer" ,gstreamer)
("gst-plugins-base" ,gst-plugins-base) ("gst-plugins-base" ,gst-plugins-base)
,@(package-inputs wxwidgets))) ,@(package-inputs wxwidgets)))