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-09-06 22:50:05 +02:00
|
|
|
(guix download)
|
2024-03-25 16:08:53 +01:00
|
|
|
; (guix utils)
|
|
|
|
(gnu packages)
|
2024-03-25 12:23:59 +01:00
|
|
|
(gnu packages storage)
|
2024-09-06 22:50:05 +02:00
|
|
|
(gnu packages crypto)
|
2024-03-25 18:33:45 +01:00
|
|
|
(gnu packages python-xyz) ; wcwidth
|
|
|
|
(gnu packages linux) ; liburing
|
2024-03-25 12:23:59 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-public ceph-upstream
|
|
|
|
(package
|
|
|
|
(inherit ceph)
|
|
|
|
(name "ceph-upstream")
|
2024-09-06 22:50:05 +02:00
|
|
|
; (version "17.2.7releasetag")
|
|
|
|
(version "17.2.7")
|
|
|
|
; (source (origin
|
|
|
|
|
|
|
|
; (method git-fetch)
|
|
|
|
; (uri (git-reference
|
|
|
|
; (url "https://github.com/ceph/ceph.git")
|
|
|
|
; (commit "b12291d110049b2f35e32e0de30d70e9a4c060d2") ;; last version 20240906
|
|
|
|
;; (branch "quincy")
|
|
|
|
;
|
|
|
|
; (recursive? #t)))
|
|
|
|
; (file-name version)
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://download.ceph.com/tarballs/ceph-"
|
|
|
|
version ".tar.gz"))
|
2024-03-25 15:16:46 +01:00
|
|
|
|
|
|
|
(sha256
|
|
|
|
(base32
|
2024-09-06 22:50:05 +02:00
|
|
|
"1612424yrf39dz010ygz8k5x1vc8731549ckfj1r39dg00m62klp"))
|
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-09-06 22:50:05 +02:00
|
|
|
(inputs (modify-inputs (package-inputs ceph) (append liburing libxcrypt)))
|
2024-03-25 12:23:59 +01:00
|
|
|
(native-inputs (modify-inputs (package-native-inputs ceph)
|
|
|
|
(append python-wcwidth)))))
|
|
|
|
|