diff --git a/glicid/packages/storage.scm b/glicid/packages/storage.scm index edbeced..710fa1c 100644 --- a/glicid/packages/storage.scm +++ b/glicid/packages/storage.scm @@ -1,6 +1,7 @@ (define-module (glicid packages storage)) -(use-modules (guix packages) +(use-modules (guix packages) + (guix git-download) (gnu packages storage) (gnu packages python-xyz) ) @@ -9,6 +10,41 @@ (package (inherit ceph) (name "ceph-upstream") + + (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"))))) + + (native-inputs (modify-inputs (package-native-inputs ceph) (append python-wcwidth)))))