[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/11: gnu: notcurses: Use tarball source instead of git.
From: |
guix-commits |
Subject: |
10/11: gnu: notcurses: Use tarball source instead of git. |
Date: |
Thu, 4 Aug 2022 06:41:17 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit d0f25610d90753f336db11f09fd8e87d0d2c0121
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Aug 4 12:02:17 2022 +0200
gnu: notcurses: Use tarball source instead of git.
* gnu/packages/notcurses.scm (notcurses)[source]: Use URL-FETCH.
---
gnu/packages/notcurses.scm | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/notcurses.scm b/gnu/packages/notcurses.scm
index 28747a864e..5bb8a24edd 100644
--- a/gnu/packages/notcurses.scm
+++ b/gnu/packages/notcurses.scm
@@ -1,4 +1,5 @@
;;; Copyright © 2021 Blake Shaw <blake@nonconstructivism.com>
+;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -20,7 +21,7 @@
#:use-module (gnu packages)
#:use-module (guix packages)
#:use-module (guix build utils)
- #:use-module (guix git-download)
+ #:use-module (guix download)
#:use-module (guix build-system cmake)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages check)
@@ -37,13 +38,17 @@
(version "3.0.8")
(source
(origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/dankamongmen/notcurses")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "05dxv0745kzna2zylvsb3rlwcrlpyc5xsdcflbrdc34ab29mc8z5"))))
+ (method url-fetch)
+ ;; Note: the upstream git repository contains non-free media (see the
+ ;; documentation for DFSG_BUILD; but the project provides a sanitized
+ ;; tarball for distributions. If switching to a git source, we need
+ ;; to find a way to elide the non-free demos with a source 'snippet'.
+ (uri (string-append "https://github.com/dankamongmen/notcurses/releases"
+ "/download/v" version "/notcurses_" version
+ "+dfsg.1.orig.tar.xz"))
+ (file-name (string-append name "-" version ".tar.xz"))
+ (sha256
+ (base32 "1nz32nqh7fn4i06hvl8ndkm0z4g08a6wzhilvv8ggx2hc5axsz89"))))
(build-system cmake-build-system)
(arguments
`(#:make-flags
- branch master updated (3bd2b1b544 -> 243bcbb8a2), guix-commits, 2022/08/04
- 02/11: gnu: amalgamate: Remove input labels., guix-commits, 2022/08/04
- 01/11: gnu: gsasl: Update to 2.0.1., guix-commits, 2022/08/04
- 05/11: gnu: ungoogled-chromium: Update to 104.0.5112.81-1., guix-commits, 2022/08/04
- 07/11: gnu: mtxclient: Update to 0.8.0., guix-commits, 2022/08/04
- 09/11: gnu: notcurses: Update to 3.0.8., guix-commits, 2022/08/04
- 10/11: gnu: notcurses: Use tarball source instead of git.,
guix-commits <=
- 11/11: gnu: notcurses: Adjust indentation., guix-commits, 2022/08/04
- 03/11: gnu: inkscape: Update to 1.2.1., guix-commits, 2022/08/04
- 04/11: gnu: inkscape: Build with lib2geom 1.2., guix-commits, 2022/08/04
- 06/11: gnu: libolm: Update to 3.2.12., guix-commits, 2022/08/04
- 08/11: gnu: nheko: Update to 0.10.0., guix-commits, 2022/08/04