Add actual server src
parent
bed5fa9c41
commit
33fe7cc872
|
@ -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
|
|
@ -1,2 +1,2 @@
|
|||
(specifications->manifest
|
||||
(list "actual-server"))
|
||||
(list "actual-server-src"))
|
||||
|
|
Loading…
Reference in New Issue