From e088a010a257a439b6266209a3b0f9faba715ccf Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 4 Jan 2020 23:43:56 +0100 Subject: [PATCH] gnu: Add cl-pdf. * gnu/packages/lisp-xyz.scm (sbcl-cl-pdf, ecl-cl-pdf, cl-pdf): New variables. --- gnu/packages/lisp-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 45d79152c8..8d9cf53526 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -550,6 +550,40 @@ (define-public ecl-flexichain (define-public cl-flexichain (sbcl-package->cl-source-package sbcl-flexichain)) +(define-public sbcl-cl-pdf + ;; There are no releases + (let ((commit "752e337e6d6fc206f09d091a982e7f8e5c404e4e") + (revision "1")) + (package + (name "sbcl-cl-pdf") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mbattyani/cl-pdf.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1cg3k3m3r11ipb8j008y8ipynj97l3xjlpi2knqc9ndmx4r3kb1r")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("iterate" ,sbcl-iterate) + ("zpb-ttf" ,sbcl-zpb-ttf))) + (home-page "https://github.com/mbattyani/cl-pdf") + (synopsis "Common Lisp library for generating PDF files") + (description + "CL-PDF is a cross-platform Common Lisp library for generating PDF +files.") + (license license:bsd-2)))) + +(define-public ecl-cl-pdf + (sbcl-package->ecl-package sbcl-cl-pdf)) + +(define-public cl-pdf + (sbcl-package->cl-source-package sbcl-cl-pdf)) + (define-public sbcl-clx (package (name "sbcl-clx")