blob: 67d60a1d002b1d620b74ac9e3247271301190d7e (
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
(define-module (local packages guix)
#:use-module (ice-9 popen)
#:use-module (ice-9 rdelim)
#:use-module (guix build utils)
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages autotools)
#:use-module (gnu packages bash)
#:use-module (gnu packages curl)
#:use-module (gnu packages emacs)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages xdisorg)
#:use-module (wigust packages emacs)
#:use-module (guix build-system emacs)
#:use-module (guix build-system trivial)
#:use-module ((guix licenses) #:prefix license:))
(define-public guix-browse
(let ((commit "83022c91f16141514282e53ec94373d9c9cc1dca"))
(package
(name "guix-browse")
(version (git-version "0.1" "1" commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.com/wigust/guix-browse")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"1rxsjalb86lkw0qimqmr3yz65pc817yma2pynd9cn1a0nni138ll"))))
(build-system trivial-build-system)
(arguments
`(#:modules
((guix build utils))
#:builder
(begin
(use-modules (guix build utils))
(copy-recursively (assoc-ref %build-inputs "source") ".")
(let ((directory "guix/scripts"))
(install-file (string-append directory "/browse.scm")
(string-append %output "/share/guile/site/2.2/"
directory)))
#t)))
(home-page #f)
(synopsis #f)
(description #f)
(license #f))))
(define-public guix-latest-eval
(let ((commit "819c3fd9746ecda6a9fd005d1dd7efc70944d2c1"))
(package
(name "guix-latest-eval")
(version (string-append "0.0.1" "-" (string-take commit 7)))
(source (origin
(method git-fetch)
(uri (git-reference
(url "git://git.magnolia.local/guix-latest-eval")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"1nnz8qfmg3f6vn2gc9g3k535smfwb50yq2d1snf0nf9mcn1yji7b"))))
(build-system trivial-build-system)
(inputs
`(("bash" ,bash)
("curl" ,curl)))
(arguments
`(#:modules
((guix build utils))
#:builder
(begin
(use-modules (guix build utils))
(copy-recursively (assoc-ref %build-inputs "source") ".")
(setenv "PATH" (string-append
(assoc-ref %build-inputs "bash") "/bin" ":"
(assoc-ref %build-inputs "curl") "/bin" ":"))
(substitute* "guix-latest-eval"
(("/bin/sh") (which "bash"))
(("curl") (which "curl")))
(let ((directory "bin"))
(install-file "guix-latest-eval"
(string-append %output "/" directory)))
#t)))
(home-page #f)
(synopsis "Get the most recent fully evaluated commit from the build farm")
(description
"This package provides a Curl script to get the most recent fully
evaluated commit from the build farm.")
(license license:gpl3+))))
|