(define-module (packages komodo spdlog) #:use-module (gnu packages logging) #:use-module (guix git-download) #:use-module (guix packages)) ;; DATA LAYER (define configure-flags-inherited (list "-DSPDLOG_BUILD_BENCH=OFF" "-DSPDLOG_BUILD_SHARED=ON")) (define tests? #f) (define version "1.8.5") ;; ABSTRACTION LAYER -1 (define configure-flags `',configure-flags-inherited) ;; ABSTRACTION LAYER -0 (define arguments (list #:configure-flags configure-flags #:tests? tests?)) (define source (origin (uri (git-reference (url "https://github.com/gabime/spdlog") (commit (string-append "v" version)))) (method git-fetch) (file-name (git-file-name "spdlog" version)) (sha256 (base32 "179krvg5sad6dviqpcjwg6czzknnilqszrg1d0fgp12h6sy66vqg")))) ;; SURFACE LAYER (define-public spdlog-1.8 (package (inherit spdlog) (version version) (source source) (arguments arguments)))