Archived
1
0
Fork 0

gnu: reptyr: Update to 0.10.0.

* gnu/packages/screen.scm (reptyr): Update to 0.10.0.
[arguments]: use new style, fix cross-compilation.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Zheng Junjie 2023-07-04 18:52:18 +08:00 committed by Ludovic Courtès
parent de02a58e25
commit 06b604ebbf
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -6,6 +6,7 @@
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com> ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -26,7 +27,9 @@
#:use-module (guix licenses) #:use-module (guix licenses)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix utils)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
@ -153,7 +156,7 @@ window manager as well as the Tmux terminal multiplexer.")
(define-public reptyr (define-public reptyr
(package (package
(name "reptyr") (name "reptyr")
(version "0.7.0") (version "0.10.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -162,17 +165,17 @@ window manager as well as the Tmux terminal multiplexer.")
(commit (string-append "reptyr-" version)))) (commit (string-append "reptyr-" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1hnijfz1ab34j2h2cxc3f43rmbclyihgn9x9wxa7jqqgb2xm71hj")))) (base32 "03k95bf7b46g89j0hgfvra9d512z0ha7vw9358h9j67h9b5bylwf"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:tests? #f ; no tests (list #:tests? #f ; no tests
#:make-flags #:make-flags
(list "CC=gcc" #~(list (string-append "CC=" #$(cc-for-target))
(string-append "PREFIX=" (assoc-ref %outputs "out")) (string-append "PREFIX=" #$output)
(string-append "BASHCOMPDIR=" (assoc-ref %outputs "out") (string-append "BASHCOMPDIR=" #$output
"/etc/bash_completion.d")) "/etc/bash_completion.d"))
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(delete 'configure)))) ; no configure script (delete 'configure)))) ; no configure script
(home-page "https://github.com/nelhage/reptyr") (home-page "https://github.com/nelhage/reptyr")
(synopsis "Tool for reparenting a running program to a new terminal") (synopsis "Tool for reparenting a running program to a new terminal")