(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)))