From 2a4ade90ff856a24f29bd8911d36c1363750fc41 Mon Sep 17 00:00:00 2001 From: jgart Date: Wed, 26 Jan 2022 03:29:55 -0500 Subject: gn: packages: lisp: Add cl-defstar. --- gn/packages/lisp.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gn/packages/lisp.scm b/gn/packages/lisp.scm index e4fabf8..ef1f76b 100644 --- a/gn/packages/lisp.scm +++ b/gn/packages/lisp.scm @@ -76,3 +76,37 @@ (define-public ecl-snakes (sbcl-package->ecl-package sbcl-snakes)) +(define-public sbcl-defstar + (let ((commit "132829dac9f84fa7202a0c5793aa6accb8d2662a") + (revision "0")) + (package + (name "sbcl-defstar") + (version "0.4.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lisp-maintainers/defstar") + (commit commit))) + (sha256 + (base32 "0n6m3aqvdfnsrhlhqjcy72d1i55lbkjg13ij5c7vw003p1n78wxi")) + (file-name (git-file-name name commit)))) + (build-system asdf-build-system/sbcl) + (arguments + `(#:asd-files '("defstar.asd"))) + (home-page "https://github.com/lisp-maintainers/defstar") + (synopsis "Type declarations for defun et all") + (description +"@code{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.") + (license license:gpl3)))) + +(define-public cl-defstar + (sbcl-package->cl-source-package sbcl-defstar)) + +(define-public ecl-defstar + (sbcl-package->ecl-package sbcl-defstar)) + -- cgit v1.2.3