blob: 06c4b626c34544f08af81f60f4b2ab29a00b0aab (
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
|
(define-module (rodion packages go-binary)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (gnu packages compression)
#:use-module (guix build-system copy)
#:use-module (gnu packages fonts))
(define-public forgejo
(package
(name "forgejo")
(version "7.0.5")
(source (origin
(method url-fetch)
(uri (string-append "https://codeberg.org/forgejo/forgejo/releases/download/" "v" version "/forgejo-" version "-linux-amd64"))
(sha256
(base32 "18w19870flfl16bgfj2ks4lysamj0f0x9rrlhz85avvdknxakr6x"))))
(build-system copy-build-system)
(arguments
`(#:install-plan '((,(string-append "forgejo-" version "-linux-amd64") "bin/forgejo"))
#:phases (modify-phases %standard-phases
(add-after 'install 'make-executable
(lambda* (#:key outputs #:allow-other-keys)
(chmod (string-append (assoc-ref %outputs "out") "/bin/forgejo") #o555))))))
(synopsis "Forgejo")
(description "Forgejo")
(home-page "https://codeberg.org/forgejo/forgejo")
(license license:expat)))
|