1
0
Fork 0

Add actual server src

master
Sudoer777's Guix Server 2024-05-21 00:52:05 -05:00 committed by Sudoer777's Guix Server
parent bed5fa9c41
commit 33fe7cc872
2 changed files with 8 additions and 15 deletions

View File

@ -8,10 +8,10 @@
(gnu packages node)
(gnu packages package-management))
(define-public actual-server
(define-public actual-server-src
(package
(name "actual-server")
(version "0.0.1") ; Placeholder version
(name "actual-server-src")
(version "git")
(source (origin
(method git-fetch)
(uri (git-reference
@ -25,19 +25,12 @@
(arguments
`(#:tests? #f ; Disable tests for simplicity
#:phases (modify-phases %standard-phases
(add-before 'configure 'install-yarn
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((node (assoc-ref inputs "node")))
(setenv "PATH" (string-append node "/bin:" (getenv "PATH")))
(invoke "npm" "install" "--global" "yarn"))))
(replace 'configure
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((node (assoc-ref inputs "node")))
(setenv "PATH" (string-append node "/bin:" (getenv "PATH")))
(invoke "yarn" "install")))))))
(delete 'configure)
(delete 'build)
(delete 'install))))
(home-page "https://github.com/actualbudget/actual-server")
(synopsis "Actual server for budget management")
(description "Actual is a local-first personal finance tool.")
(license expat)))
actual-server
actual-server-src

View File

@ -1,2 +1,2 @@
(specifications->manifest
(list "actual-server"))
(list "actual-server-src"))