Add gotosocial frontend

This commit is contained in:
TakeV 2023-06-27 21:00:52 -07:00
parent 0c0a17121c
commit a5de15253c
Signed by: TakeV
GPG Key ID: A64F41345C7400AF
1 changed files with 20 additions and 1 deletions

View File

@ -9,8 +9,27 @@
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix gexp)
#:use-module (guix build-system copy)
#:use-module (guix build-system go))
(define-public gotosocial-frontend
(package
(name "gotosocial-frontend")
(version "0.8.0")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/superseriousbusiness/gotosocial/releases/download/" version "/gotosocial_" version "_web-assets.tar.gz"))
(sha256
(base32
"1r3n8r5jvf2fhmdb0x2sayri4zfcjiq65vhdv9jsgh4ivmz1y0zx"))))
(build-system copy-build-system)
(arguments
(list #:install-plan #~'(("." "/gotosocial/web"))))
(synopsis "GoToSocial Frontend Assets")
(description "")
(home-page "")
(license license:agpl3)))
(define-public gotosocial
(let* ((import-path "github.com/superseriousbusiness/gotosocial")
(working-path (string-append "src/" import-path)))
@ -54,7 +73,7 @@
(add-before 'install-license-files 'chdir-back
(lambda _
(chdir (getenv "ORIG_DIR")))))))
(propagated-inputs (list python-minimal-wrapper zsh))
(propagated-inputs (list python-minimal-wrapper zsh gotosocial-frontend))
(home-page "https://github.com/superseriousbusiness/gotosocial")
(synopsis "GoToSocial")
(description