guix-glicid/glicid/packages/storage.scm

53 lines
1.8 KiB
Scheme
Raw Normal View History

2024-03-25 12:23:59 +01:00
(define-module (glicid packages storage))
2024-03-25 15:16:46 +01:00
(use-modules (guix packages)
(guix git-download)
; (guix utils)
(gnu packages)
2024-03-25 12:23:59 +01:00
(gnu packages storage)
(gnu packages python-xyz)
)
(define-public ceph-upstream
(package
(inherit ceph)
(name "ceph-upstream")
2024-03-25 15:18:05 +01:00
(version "17.2.8-pre")
2024-03-25 15:16:46 +01:00
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ceph/ceph.git")
2024-03-25 17:23:31 +01:00
(commit "00f3877cc47f7a85e5ce4fa2585254b148b0d1ca") ;; last version 20240325
2024-03-25 15:16:46 +01:00
; (branch "quincy")
(recursive? #t)))
(sha256
(base32
2024-03-25 17:59:55 +01:00
"0mnc20jxnyxh6ipgg9m40allkhf1pfm7pmcy8d7ggmx3aw6xg2cw"))
2024-03-25 15:16:46 +01:00
(patches
(search-patches
"ceph-disable-cpu-optimizations.patch"))
(modules '((guix build utils)))
(snippet
'(for-each delete-file-recursively
'(;; TODO: Unbundle these:
"src/arrow"
;;"src/isa-l"
;;"src/lua"
;;"src/xxHash"
;;"src/zstd"
;;"src/civetweb"
"src/c-ares"
"src/fmt"
"src/googletest"
"src/rapidjson"
"src/spdk"
"src/rocksdb"
2024-03-25 18:22:08 +01:00
; "src/boost" ; inexistant ??
2024-03-25 15:16:46 +01:00
"src/utf8proc")))))
2024-03-25 12:23:59 +01:00
(native-inputs (modify-inputs (package-native-inputs ceph)
(append python-wcwidth)))))