1
0
Fork 0

Compare commits

..

10 Commits

Author SHA1 Message Date
Sudoer777's Guix Server 3b3735e2ce
Add git repo to package 2024-05-21 17:02:07 -05:00
Sudoer777's Guix Server 6b5c218516 Make actual-server older version 2024-05-21 03:51:17 -05:00
Sudoer777's Guix Server d10de4435f Reorder stuff 2024-05-21 03:40:47 -05:00
Sudoer777's Guix Server 738716bbcd Reorder repo 2024-05-21 03:28:26 -05:00
Sudoer777's Guix Server 7f1322f42a Switch to node-lts 2024-05-21 02:57:47 -05:00
Sudoer777's Guix Server 51b87954a9 Add module 2024-05-21 02:02:58 -05:00
Sudoer777's Guix Server 76feebad68 Redo actual-budget-src package definition 2024-05-21 01:03:05 -05:00
Sudoer777's Guix Server 33fe7cc872 Add actual server src 2024-05-21 00:52:05 -05:00
Sudoer777's Guix Server bed5fa9c41 Fail to make actual-server package 2024-05-20 22:35:08 -05:00
Sudoer777's Guix Server 38943760b3 Fix package 2024-05-20 21:11:33 -05:00
3 changed files with 40 additions and 31 deletions

40
actual-server.scm 100644
View File

@ -0,0 +1,40 @@
(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

@ -1,29 +0,0 @@
(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)))

View File

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