mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 23:06:59 +01:00
gnu: ucd: Use copy-build-system.
* gnu/packages/unicode.scm (ucd)[build-system]: Switch to copy-build-system. [arguments]: Adjust accordingly.
This commit is contained in:
parent
790b66e34f
commit
a18ed1711f
1 changed files with 5 additions and 8 deletions
|
@ -1,5 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2020 Leo Prikler <leo.prikler@student.tugraz.at>
|
;;; Copyright © 2020 Leo Prikler <leo.prikler@student.tugraz.at>
|
||||||
|
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -21,6 +22,7 @@ (define-module (gnu packages unicode)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
|
#:use-module (guix build-system copy)
|
||||||
#:use-module (guix build-system trivial))
|
#:use-module (guix build-system trivial))
|
||||||
|
|
||||||
(define-public ucd
|
(define-public ucd
|
||||||
|
@ -35,15 +37,10 @@ (define-public ucd
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1ighy39cjkmqnv1797wrxjz76mv1fdw7zp5j04q55bkwxsdkvrmh"))))
|
"1ighy39cjkmqnv1797wrxjz76mv1fdw7zp5j04q55bkwxsdkvrmh"))))
|
||||||
(build-system trivial-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:modules ((guix build utils))
|
'(#:install-plan
|
||||||
#:builder
|
'(("." "share/ucd/"))))
|
||||||
(let ((out (string-append %output "/share/ucd")))
|
|
||||||
(use-modules (guix build utils))
|
|
||||||
(mkdir-p out)
|
|
||||||
(copy-recursively (assoc-ref %build-inputs "source") out)
|
|
||||||
#t)))
|
|
||||||
(home-page "https://www.unicode.org")
|
(home-page "https://www.unicode.org")
|
||||||
(synopsis "Unicode Character Database")
|
(synopsis "Unicode Character Database")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue