gnu: sbcl-mcclim: Reformatting.

* gnu/packages/lisp-xyz.scm (sbcl-mcclim): Remove let and reindent.
[source]: Use the version field from the package definition.

Change-Id: Ib7faade37178aff779fbffe1cb439367b5740b91
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Carlo Zancanaro 2024-02-17 23:02:40 +11:00 committed by Sharlatan Hellseher
parent 4fecd14409
commit 3cf199dbcf
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -15482,72 +15482,71 @@ (define-public ecl-dejavu
(sbcl-package->ecl-package sbcl-cl-dejavu)) (sbcl-package->ecl-package sbcl-cl-dejavu))
(define-public sbcl-mcclim (define-public sbcl-mcclim
(let ((commit #f)) ; avoiding changing indentation (package
(package (name "sbcl-mcclim")
(name "sbcl-mcclim") (version "0.9.8")
(version "0.9.8") (source
(source (origin
(origin (method git-fetch)
(method git-fetch) (uri (git-reference
(uri (git-reference (url "https://codeberg.org/McCLIM/McCLIM")
(url "https://codeberg.org/McCLIM/McCLIM") (commit (string-append version "-yule"))))
(commit "0.9.8-yule"))) (file-name (git-file-name "cl-mcclim" version))
(file-name (git-file-name "cl-mcclim" version)) (sha256
(sha256 (base32 "0gbi61jnnsz6fvhv18mf57jkq46bvcd0355vqdcnrni7xyi10sk8"))))
(base32 "0gbi61jnnsz6fvhv18mf57jkq46bvcd0355vqdcnrni7xyi10sk8")))) (build-system asdf-build-system/sbcl)
(build-system asdf-build-system/sbcl) (native-inputs
(native-inputs (list sbcl-fiveam pkg-config))
(list sbcl-fiveam pkg-config)) (inputs
(inputs (list fontconfig
(list fontconfig freetype
freetype harfbuzz
harfbuzz sbcl-alexandria
sbcl-alexandria sbcl-babel
sbcl-babel sbcl-bordeaux-threads
sbcl-bordeaux-threads sbcl-cffi
sbcl-cffi sbcl-cl-base64
sbcl-cl-base64 sbcl-cl-dejavu
sbcl-cl-dejavu sbcl-cl-freetype2
sbcl-cl-freetype2 sbcl-cl-pdf
sbcl-cl-pdf sbcl-cl-unicode
sbcl-cl-unicode sbcl-cl-vectors
sbcl-cl-vectors sbcl-cl-who
sbcl-cl-who sbcl-closer-mop
sbcl-closer-mop sbcl-cluffer
sbcl-cluffer sbcl-clx
sbcl-clx sbcl-flexi-streams
sbcl-flexi-streams sbcl-flexichain
sbcl-flexichain sbcl-log4cl
sbcl-log4cl sbcl-lorem-ipsum
sbcl-lorem-ipsum sbcl-opticl
sbcl-opticl sbcl-slime-swank
sbcl-slime-swank sbcl-spatial-trees
sbcl-spatial-trees sbcl-trivial-features
sbcl-trivial-features sbcl-trivial-garbage
sbcl-trivial-garbage sbcl-trivial-gray-streams
sbcl-trivial-gray-streams sbcl-zpb-ttf))
sbcl-zpb-ttf)) (arguments
(arguments '(#:asd-systems '("mcclim"
'(#:asd-systems '("mcclim" "clim-examples"
"clim-examples" ;; clim-debugger is required by cleavir.
;; clim-debugger is required by cleavir. "clim-debugger")
"clim-debugger") #:phases
#:phases (modify-phases %standard-phases
(modify-phases %standard-phases (add-after 'unpack 'fix-paths
(add-after 'unpack 'fix-paths (lambda* (#:key inputs #:allow-other-keys)
(lambda* (#:key inputs #:allow-other-keys) (substitute* "Extensions/fontconfig/src/functions.lisp"
(substitute* "Extensions/fontconfig/src/functions.lisp" (("libfontconfig\\.so")
(("libfontconfig\\.so") (search-input-file inputs "/lib/libfontconfig.so")))
(search-input-file inputs "/lib/libfontconfig.so"))) (substitute* "Extensions/harfbuzz/src/functions.lisp"
(substitute* "Extensions/harfbuzz/src/functions.lisp" (("libharfbuzz\\.so")
(("libharfbuzz\\.so") (search-input-file inputs "/lib/libharfbuzz.so"))))))))
(search-input-file inputs "/lib/libharfbuzz.so")))))))) (home-page "https://mcclim.common-lisp.dev/")
(home-page "https://mcclim.common-lisp.dev/") (synopsis "Common Lisp GUI toolkit")
(synopsis "Common Lisp GUI toolkit") (description
(description "McCLIM is an implementation of the @emph{Common Lisp Interface Manager
"McCLIM is an implementation of the @emph{Common Lisp Interface Manager
specification}, a toolkit for writing GUIs in Common Lisp.") specification}, a toolkit for writing GUIs in Common Lisp.")
(license license:lgpl2.1+)))) (license license:lgpl2.1+)))
(define-public cl-mcclim (define-public cl-mcclim
(sbcl-package->cl-source-package sbcl-mcclim)) (sbcl-package->cl-source-package sbcl-mcclim))