blob 5ad9fd48a7acc265a506e0ac5d78051a743895c6 2638 bytes (raw)
name: etc/snippets/tempel/scheme-mode # note: path name is non-authoritative(*)
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
| | -*- mode: lisp-data -*-
scheme-mode
(package...
"(define-public " (s name)
n> "(package"
n > "(name \"" (s name) "\")"
n > "(version \"" p "\")"
n > "(source origin...)"
n > "(build-system " (p "gnu") "-build-system)"
n > "(home-page \"" p "\")"
n > "(synopsis \"" p "\")"
n > "(description \"" p "\")"
n > "(license license:" (p "unknown") ")))" n)
(emacs-variants...
"(define-public emacs-next-" (s name)
n> "(package-with-emacs-next emacs-" (s name) "))" n n
"(define-public emacs-minimal-" (s name)
n> "(package-with-emacs-minimal emacs-" (s name) "))" n n
"(define-public emacs-pgtk-" (s name)
n> "(package-with-emacs-pgtk emacs-" (s name) "))")
(origin...
"(origin"
n> "(method " (p "url-fetch" method) ")"
n> "(uri " (cl-case (and method (intern method))
(git-fetch "git-reference...")
(svn-fetch "svn-reference...")
(hg-fetch "hg-reference...")
(cvs-fetch "cvs-reference...")
(bzr-fetch "bzr-reference...")
(otherwise "\"https://...\""))
")"
n>
(cl-case (and method (intern method))
(git-fetch
(insert "(file-name (git-file-name name version))")
(newline)
(indent-according-to-mode))
(hg-fetch
(insert "(file-name (hg-file-name name version))")
(newline)
(indent-according-to-mode))
(svn-fetch
(insert "(file-name (string-append name \"-\" version \"-checkout\"))")
(newline)
(indent-according-to-mode))
(cvs-fetch
(insert "(file-name (string-append name \"-\" version \"-checkout\"))")
(newline)
(indent-according-to-mode))
(bzr-fetch
(insert "(file-name (string-append name \"-\" version \"-checkout\"))")
(newline)
(indent-according-to-mode))
(t ""))
> "(sha256"
n > "(base32 \""
;; hash of an empty directory
(p "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5") "\")))")
(git-reference...
"(git-reference"
n> "(url \"" p "\")"
n> "(commit " (p "commit") "))")
(svn-reference...
"(svn-reference"
n> "(url \"" p "\")"
n> "(revision " (p "revision") "))")
(cvs-reference...
"(cvs-reference"
n> "(root-directory \"" p "\")"
n> "(module \"" p "\")"
n> "(revision \"" p "\"))")
(hg-reference...
"(hg-reference"
n> "(url \"" p "\")"
n> "(changeset " (p "changeset") "))")
(bzr-reference...
"(bzr-reference"
n> "(url \"" p "\")"
n> "(revision " (p "revision") "))")
(:phases\ "#:phases (modify-phases %standard-phases"
n> p ")")
(add-before\ "(add-before '" p " '" p
n > p ")")
(add-after\ "(add-after '" p " '" p
n > p ")")
(replace\ "(replace '" p " " p")")
|
debug log:
solving 5ad9fd48a7 ...
found 5ad9fd48a7 in https://yhetil.org/guix/8462cdbd0591cc0ed1b8e6bf8f5882edc2115648.1722455929.git.liliana.prikler@gmail.com/
found 249f4ce8e3 in https://git.savannah.gnu.org/cgit/guix.git
preparing index
index prepared:
100644 249f4ce8e3877035eff9986e8f22f3cca4f737d5 etc/snippets/tempel/scheme-mode
applying [1/1] https://yhetil.org/guix/8462cdbd0591cc0ed1b8e6bf8f5882edc2115648.1722455929.git.liliana.prikler@gmail.com/
diff --git a/etc/snippets/tempel/scheme-mode b/etc/snippets/tempel/scheme-mode
index 249f4ce8e3..5ad9fd48a7 100644
Checking patch etc/snippets/tempel/scheme-mode...
Applied patch etc/snippets/tempel/scheme-mode cleanly.
index at:
100644 5ad9fd48a7acc265a506e0ac5d78051a743895c6 etc/snippets/tempel/scheme-mode
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.