me
/
guix
Archived
1
0
Fork 0

gnu: Add defstar.

* gnu/packages/lisp-xyz.scm (cl-defstar, ecl-defstar, sbcl-defstar): New variables.
master
Pierre Neidhardt 2022-06-30 16:59:12 +02:00
parent 0b23663c52
commit a034032066
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F
1 changed files with 32 additions and 0 deletions

View File

@ -21793,3 +21793,35 @@ introduces and explains filtered functions in detail.")
(define-public ecl-filtered-functions (define-public ecl-filtered-functions
(sbcl-package->ecl-package sbcl-filtered-functions)) (sbcl-package->ecl-package sbcl-filtered-functions))
(define-public sbcl-defstar
(let ((commit "132829dac9f84fa7202a0c5793aa6accb8d2662a"))
(package
(name "sbcl-defstar")
(version (git-version "1.0.0" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "http://bitbucket.org/eeeickythump/defstar/")
(commit commit)))
(file-name (git-file-name "cl-defstar" version))
(sha256
(base32 "0n6m3aqvdfnsrhlhqjcy72d1i55lbkjg13ij5c7vw003p1n78wxi"))))
(build-system asdf-build-system/sbcl)
(home-page "http://bitbucket.org/eeeickythump/defstar/")
(synopsis "Easy inline (return) type declarations for functions")
(description
"Defstar is a collection of Common Lisp macros that can be used in
place of @code{defun}, @code{defmethod}, @code{defgeneric}, @code{defvar},
@code{defparameter}, @code{flet}, @code{labels}, @code{let*} and
@code{lambda}. Each macro has the same name as the form it replaces, with a
star added at the end, e.g. @code{defun}. (the exception is the @code{let*}
replacement, which is called @code{*let}).")
(license license:gpl3))))
(define-public cl-defstar
(sbcl-package->cl-source-package sbcl-defstar))
(define-public ecl-defstar
(sbcl-package->ecl-package sbcl-defstar))