summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rodion/packages/go-binary.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/rodion/packages/go-binary.scm b/rodion/packages/go-binary.scm
new file mode 100644
index 0000000..06c4b62
--- /dev/null
+++ b/rodion/packages/go-binary.scm
@@ -0,0 +1,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)))