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)
|
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:16:46 +01:00
|
|
|
|
|
|
|
(source (origin
|
|
|
|
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/ceph/ceph.git")
|
|
|
|
(commit "dc7dc56a00e48fe6f231a58f6537139fe2908fb9") ;; last version 20240325
|
|
|
|
; (branch "quincy")
|
|
|
|
(recursive? #t)))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"16mjj6cyrpdn49ig82mmrv984vqfdf24d6i4n9sghfli8z0nj8in"))
|
|
|
|
(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"
|
|
|
|
"src/boost"
|
|
|
|
"src/utf8proc")))))
|
|
|
|
|
|
|
|
|
2024-03-25 12:23:59 +01:00
|
|
|
(native-inputs (modify-inputs (package-native-inputs ceph)
|
|
|
|
(append python-wcwidth)))))
|
|
|
|
|