1
0
Fork 0

Compare commits

..

No commits in common. "3b3735e2ce35248534113dc068e59f7aa6973014" and "ec59bc8022c5360f08f22900088c0ac7e60d1d44" have entirely different histories.

3 changed files with 31 additions and 40 deletions

View File

@ -1,40 +0,0 @@
(define-module (actual-server)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system node)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (guix licenses)
#:use-module (gnu packages)
#:use-module (gnu packages node)
#:use-module (gnu packages package-management))
(define-public actual-server-src
(package
(name "actual-server-src")
(version "24.4.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/actualbudget/actual-server")
(commit "deec1f9")))
(file-name (git-file-name name version))
(sha256 (base32 "1lq5lqa3818ajyn4cs8paw0iy4ibpggzsp9p1l4xwpa1xz10jb52"))))
(build-system gnu-build-system)
(inputs
`(("node" ,node-lts)))
(arguments
`(#:tests? #f ; Disable tests for simplicity
#:phases (modify-phases %standard-phases
(delete 'configure)
(delete 'build)
(delete 'install)
(add-after 'unpack 'store-source
(lambda* (#:key outputs #:allow-other-keys)
(let ((source-dir (assoc-ref outputs "out")))
(copy-recursively "." (string-append source-dir "/source"))
#t))))))
(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)))

View File

@ -0,0 +1,29 @@
(use-modules (guix packages)
(guix git-download)
(guix build-system node)
(guix utils)
(guix build-system gnu)
(guix licenses))
(define-public actual-server
(package
(name "actual-server")
(version "0.0.1") ; Placeholder version
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/actualbudget/actual-server")
(commit "master"))) ; Use the latest commit on master
(file-name (git-file-name name version))
(sha256 (base32 "0h88r7vy8mwpqqx4qg1gkpa4a7vd6wk3mcvc9vqvafcgf4d53rc6")))) ; Placeholder checksum
(build-system node-build-system)
(arguments
`(#:tests? #f ; Disable tests for simplicity
#:phases (modify-phases %standard-phases
(add-after 'install 'yarn-install
(lambda* (#:key inputs outputs #:allow-other-keys)
(invoke "yarn" "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)))

2
manifest.scm 100644
View File

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