diff options
| author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2026-06-18 10:13:25 +0200 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2026-06-27 22:29:36 +0200 |
| commit | 5eade2a1e3d1cb350a9e9d143008bad676db972d (patch) | |
| tree | 7bbda4408b72a361a772e664af173483bfcf4587 /gnu/packages/databases.scm | |
| parent | fc665909ddc733882c7a1bf1cd3db2273bcaf739 (diff) | |
gnu: Add rayforce.
* gnu/packages/databases.scm (rayforce): New variable.
Diffstat (limited to 'gnu/packages/databases.scm')
| -rw-r--r-- | gnu/packages/databases.scm | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 20ff1dee495..410ae0115b9 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm | |||
| @@ -2119,6 +2119,65 @@ value. There is no concept of data tables or data types. Records are | |||
| 2119 | organized in a hash table or B+ tree.") | 2119 | organized in a hash table or B+ tree.") |
| 2120 | (license license:lgpl2.1+))) | 2120 | (license license:lgpl2.1+))) |
| 2121 | 2121 | ||
| 2122 | (define-public rayforce | ||
| 2123 | ;; No release commit, version from include/rayforce.h | ||
| 2124 | (let ((revision "1") | ||
| 2125 | (commit "a4a4d059c0b990670462cf1b61c1d2afb1bd7b04")) | ||
| 2126 | (package | ||
| 2127 | (name "rayforce") | ||
| 2128 | (version (git-version "2.1.0" revision commit)) | ||
| 2129 | (source (origin | ||
| 2130 | (method git-fetch) | ||
| 2131 | (uri (git-reference | ||
| 2132 | (url "https://github.com/RayforceDB/rayforce") | ||
| 2133 | (commit commit))) | ||
| 2134 | (file-name (git-file-name name version)) | ||
| 2135 | (sha256 | ||
| 2136 | (base32 | ||
| 2137 | "0i2acqag83wkq2a0mbig5fq2nwas7qx3kn9bf5x9awp87hhg7n8c")))) | ||
| 2138 | (build-system gnu-build-system) | ||
| 2139 | (arguments | ||
| 2140 | (list #:make-flags | ||
| 2141 | #~(list (string-append "CC=" #$(cc-for-target)) | ||
| 2142 | (string-append "GIT_HASH=" #$commit) | ||
| 2143 | "BUILD_DATE=unknown" | ||
| 2144 | "CFLAGS=-fPIC $(WARNS) -std=$(STD) -g -O2 \ | ||
| 2145 | -fsanitize=address,undefined -fno-omit-frame-pointer") | ||
| 2146 | #:test-target "test" | ||
| 2147 | #:phases | ||
| 2148 | #~(modify-phases %standard-phases | ||
| 2149 | (delete 'bootstrap) | ||
| 2150 | (delete 'configure) | ||
| 2151 | (add-after 'build 'build-library | ||
| 2152 | (lambda* (#:key make-flags #:allow-other-keys) | ||
| 2153 | (apply invoke "make" "lib" make-flags) | ||
| 2154 | (invoke #$(cc-for-target) "-shared" "-o" "librayforce.so" | ||
| 2155 | "librayforce.a"))) | ||
| 2156 | (add-before 'check 'delete-failing-tests | ||
| 2157 | (lambda _ | ||
| 2158 | (with-directory-excursion "test/rfl/system" | ||
| 2159 | (for-each delete-file | ||
| 2160 | (list "ipc_diff.rfl" | ||
| 2161 | "log_journal.rfl" | ||
| 2162 | "log_journal_advanced.rfl"))))) | ||
| 2163 | (replace 'install | ||
| 2164 | (lambda _ | ||
| 2165 | (install-file "rayforce" | ||
| 2166 | (string-append #$output "/bin")) | ||
| 2167 | (install-file "librayforce.a" | ||
| 2168 | (string-append #$output "/lib")) | ||
| 2169 | (install-file "librayforce.so" | ||
| 2170 | (string-append #$output "/lib")) | ||
| 2171 | (install-file "include/rayforce.h" | ||
| 2172 | (string-append #$output "/include"))))))) | ||
| 2173 | (native-inputs (list gawk grep python)) | ||
| 2174 | (home-page "https://rayforcedb.com") | ||
| 2175 | (synopsis "Column analytics and graph traversal engine") | ||
| 2176 | (description "Rayforce is a combined engine for performing computations | ||
| 2177 | on tables and graphs. It features a Lisp-like language for performing queries | ||
| 2178 | and operations.") | ||
| 2179 | (license license:expat)))) | ||
| 2180 | |||
| 2122 | (define-public recutils | 2181 | (define-public recutils |
| 2123 | (package | 2182 | (package |
| 2124 | (name "recutils") | 2183 | (name "recutils") |
