diff --git a/kulupu/packages/gotosocial.scm b/kulupu/packages/gotosocial.scm index 765d8da..2159795 100644 --- a/kulupu/packages/gotosocial.scm +++ b/kulupu/packages/gotosocial.scm @@ -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