Add actual server src
parent
bed5fa9c41
commit
33fe7cc872
|
@ -8,10 +8,10 @@
|
||||||
(gnu packages node)
|
(gnu packages node)
|
||||||
(gnu packages package-management))
|
(gnu packages package-management))
|
||||||
|
|
||||||
(define-public actual-server
|
(define-public actual-server-src
|
||||||
(package
|
(package
|
||||||
(name "actual-server")
|
(name "actual-server-src")
|
||||||
(version "0.0.1") ; Placeholder version
|
(version "git")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -25,19 +25,12 @@
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; Disable tests for simplicity
|
`(#:tests? #f ; Disable tests for simplicity
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(add-before 'configure 'install-yarn
|
(delete 'configure)
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(delete 'build)
|
||||||
(let ((node (assoc-ref inputs "node")))
|
(delete 'install))))
|
||||||
(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")))))))
|
|
||||||
(home-page "https://github.com/actualbudget/actual-server")
|
(home-page "https://github.com/actualbudget/actual-server")
|
||||||
(synopsis "Actual server for budget management")
|
(synopsis "Actual server for budget management")
|
||||||
(description "Actual is a local-first personal finance tool.")
|
(description "Actual is a local-first personal finance tool.")
|
||||||
(license expat)))
|
(license expat)))
|
||||||
|
|
||||||
actual-server
|
actual-server-src
|
|
@ -1,2 +1,2 @@
|
||||||
(specifications->manifest
|
(specifications->manifest
|
||||||
(list "actual-server"))
|
(list "actual-server-src"))
|
||||||
|
|
Loading…
Reference in New Issue