blob: e147607b3b0e91a53740347d2fb0d75cc7deb562 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
(define-module (packages komodo googlefontcmake)
#:use-module (guix build-system cmake)
#:use-module (guix git-download)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (guix packages))
;; DATA LAYER
(define hash
(base32 "1lmbiv8hgbglaznv8dcsp92m8r9vdg1adg9qfyfinc92k8f5dyqq"))
(define name
"googlefontcmake")
(define description
(string-append "CMake function to download google fonts at configure time "
"from google/fonts."))
(define home-page
"https://github.com/OlivierLDff/FetchGoogleFontCMake/tree/master")
(define synopsis
"CMake function to download google fonts at configure time.")
(define tests?
#f)
(define url
"https://github.com/OlivierLDff/FetchGoogleFontCMake.git")
(define version
"master")
;; ABSTRACTION LAYER -2
(define no-install-target
'(delete 'install))
;; ABSTRACTION LAYER -1
(define phases
`(modify-phases %standard-phases
,no-install-target))
(define uri
(git-reference (url url)
(commit version)))
;; ABSTRACTION LAYER -0
(define arguments
(list #:phases phases
#:tests? tests?))
(define source
(origin (uri uri)
(method git-fetch)
(sha256 hash)))
;; SURFACE LAYER
(define-public googlefontcmake
(package (name name)
(version version)
(source source)
(build-system cmake-build-system)
(arguments arguments)
(synopsis synopsis)
(description description)
(license license:expat)
(home-page home-page)))
|