Subject: [PATCH 6/6]: gnu: Add cl-djula
From: Sharlatan Hellseher <[email-masked]>
To: [email-masked]
Date: Sun, 23 May 2021 20:33:29 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Guix team!

This series of patched add Common Lisp system - Djula, template
generator based on Django with syntax like Jinja2.

--8<---------------cut here---------------start------------->8---
    Build results:
#+BEGIN_SRC sh :results value org :results output replace :exports results
guix describe
echo
guix build --load-path=. --rounds=3 --no-substitutes $(guix refresh
--list-transitive --load-path=. sbcl-djula 2>1 | grep "sbcl-" | xargs
-d" " -I{} echo {} | awk -F\@ '/sbcl\-/{print $1}' | xargs)
guix build --load-path=. --rounds=3 --no-substitutes $(guix refresh
--list-transitive --load-path=. ecl-djula 2>1 | grep "ecl-" | xargs
-d" " -I{} echo {} | awk -F\@ '/ecl\-/{print $1}' | xargs)
#+end_src

#+RESULTS:
#+begin_src org
Generation 51    May 22 2021 19:47:42    (current)
  guix 015869d
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 015869d4c62c7a450b8231adf6054a7b4b28e628

/gnu/store/rqzhvvxgxvp2ls4a28zpa41c54ym9yaj-sbcl-trivial-backtrace-1.1.0-1.6eb65bd
/gnu/store/ba3hr1z2vrkl6s53zxfbl50rg41kf7z7-sbcl-lift-1.7.1-2.2594160
/gnu/store/rksrr4g607l8lsxsmasjgfw03jkbnyn2-sbcl-split-sequence-2.0.0
/gnu/store/v3vlyzcp3r7irgqblpdnmxmxhgf9amxx-sbcl-fiveam-1.4.2
/gnu/store/6yz9q1i32c115103yp22l2vhdcqkijad-sbcl-net.didierverna.asdf-flv-2.1
/gnu/store/7a7sjrjdwnymcs6qvxrgwax6rig9bxbi-sbcl-alexandria-1.2
/gnu/store/pb7914y5zs42302vpspsivnvg0wwmrak-sbcl-rt-1990.12.19-1.a6a7503
/gnu/store/kbqls04wzaqaawcs5vrq5s6r2j5fyvig-sbcl-parser-combinators-0.0.0-1.9c7569a
/gnu/store/2i28q3n372k8y9h95qz61qr62660swby-sbcl-iterate-1.5
/gnu/store/lyzs5b4cyk0hr4kk3mq0b6yrcfpd0aj5-sbcl-cl-ppcre-2.1.1
/gnu/store/pqb5ri1zwl4kag2609a3axrxywnfvfh5-sbcl-flexi-streams-1.0.19
/gnu/store/y3qhrl8ycjzc2fq7zy547avmfzfq6pd9-sbcl-trivial-gray-streams-0.0.0-1.ebd59b1
/gnu/store/ylzg49vgdbf9w0v2pxl7zknzb0hfd1fy-sbcl-cl-containers-0.12.1-3.3d1df53
/gnu/store/hgw8xhssy60fqx7affxv0gwm4hqcdz74-sbcl-metatilities-base-0.6.6-1.6eaa9e3
/gnu/store/j231z3wyj4vw7imvm3ivvpkb2sj6qihq-sbcl-local-time-1.0.6-2.a177eb9
/gnu/store/gpl2f8dx7ssk74l63ifhyvxz1kndw0g2-sbcl-hu.dwim.stefil-0.0.0-2.414902c
/gnu/store/s6i5hz4fzcca0v5fa0zhqfzrjza5zbh5-sbcl-hu.dwim.asdf-20200724
/gnu/store/5li604avil0pdsjm8k6lfjm835wg85gb-sbcl-gettext-0.0.0-1.a432020
/gnu/store/i4c99mxxcw2cq16c4plzj07fcvya1bwg-sbcl-cl-yacc-0.3
/gnu/store/119lkrwf5jm2gbclgk1navmhp4ipng1n-sbcl-stefil-0.1-0.0398548
/gnu/store/1px685m75jjqps16r35kwwlhgm50jppm-sbcl-slime-swank-2.26
/gnu/store/6swcybi9n5iyza04rbvy6kfsffki180i-sbcl-metabang-bind-0.8.0-1.c93b7f7
/gnu/store/qq5ha50nmc91sc11wxj3gb4d7b4skr5l-sbcl-closer-mop-1.0.0-2.19c9d33
/gnu/store/1hbvha4qxdxn1jh0kb0g5zlhaakg5q02-sbcl-cl-slice-0.1.0-1.c531683
/gnu/store/hqnn27wz0fwqraxfikhyfzb6ycc80pb8-sbcl-let-plus-0.0.0-1.5f14af6
/gnu/store/nsk0wi50ighxsgxqlc8xycsqbhw4jfd3-sbcl-anaphora-0.9.6
/gnu/store/avb1y6wbw7my8i07ijv2i0lfijwb2q8x-sbcl-clunit-0.2.3-1.6f6d728
/gnu/store/7pbfwhkffg736vwdrc5g5j0p7c1m3lds-sbcl-cl-locale-0.1.1-1.0a36cc0
/gnu/store/dnmwfjc0w4ci6k14hsq0xsvavxbd10hn-sbcl-cl-syntax-0.0.3
/gnu/store/rcj9mrqn4qj3z2whz4yvf3xclyrq6cd1-sbcl-trivial-types-0.0.1
/gnu/store/0dwlv9y4s11kw1rbbypp5mwp6r4rrsvd-sbcl-named-readtables-0.9-3.585a28e
/gnu/store/p00bwnrxwky76ck3qv72hkxdrv2hl9q9-sbcl-cl-interpol-0.2.7-1.70a1137
/gnu/store/dc65z9k1maiskz853aqn2jh7yipacjxa-sbcl-cl-unicode-0.1.6
/gnu/store/nh3h07j6cv7zw8xmhiyr9fmki1r2fxvn-sbcl-cl-annot-0.0.0-1.c99e69c
/gnu/store/qvddf6ixiyfmcrmf502ihc3la6g94szq-sbcl-arnesi-2.0.0-1.1e7dc4c
/gnu/store/wgjn2yrcwxbgf5fbxcq1nrg8g183y6xn-sbcl-collectors-0.1-1.13acef2
/gnu/store/qgrkk31ndblgpdyvdxm6iszxfl9q5dzg-sbcl-symbol-munger-0.0.1-1.97598d4
/gnu/store/n0c1kmq6na7bqm03gvvyn8mxrwc2ggyp-sbcl-lisp-unit2-0.2.0-1.fb97215
/gnu/store/gfql37hcmq6x6q2i6daa59qk95xxi6h1-sbcl-prove-1.0.0-1.4f9122b
/gnu/store/58ydhagmj6gnzmjxbbllh37n8air5hqr-sbcl-cl-ansi-text-1.0.0-1.53badf7
/gnu/store/3zq9sqxfl0kzgfn473kbzdvag404gy6i-sbcl-cl-colors-0.0.0-1.8274105
/gnu/store/cjfji8am64wq2li20qw7pllhsc0ciqbb-sbcl-babel-0.5.0-1.aeed2d1
/gnu/store/dcmz3k4kgkxckgm39d1bnvgg2ykrr2ws-sbcl-trivial-features-0.8-1.870d03d
/gnu/store/34w3g85kv2n7jsc9vndb3mbqcpsjmd81-sbcl-access-1.5.0-1.1b26db3
/gnu/store/jj0bqiy1v22b26qrvpxhg0cr393cz5yj-sbcl-djula-0.2.0-1.5df7af3
/gnu/store/iyxddgy29dfdlddr61d3gm0wccrs17hc-ecl-trivial-backtrace-1.1.0-1.6eb65bd
/gnu/store/c2jf613zvc01n6770ph0aqxy8sgfjvxb-ecl-lift-1.7.1-2.2594160
/gnu/store/9z1gjwym1lpij97g85p7m2cz4m4j91ap-ecl-split-sequence-2.0.0
/gnu/store/88vpj3h84i6zxx8p9ak16h1130y65fil-ecl-fiveam-1.4.2
/gnu/store/ia9bd1dikiw04j533xqz0ch19gfk0jk8-ecl-net.didierverna.asdf-flv-2.1
/gnu/store/vwcc3sp31gddhlkzb7p14ws6anp8p7iy-ecl-alexandria-1.2
/gnu/store/zjyifr5gklvhjzr1lk9hkyl9p1y1iqsc-ecl-rt-1990.12.19-1.a6a7503
/gnu/store/jm2ls7aa1068qw2jfgraqcp63q99sc4q-ecl-parser-combinators-0.0.0-1.9c7569a
/gnu/store/4wxma5vfd4mjnwsrm3jakpxkqan35b04-ecl-iterate-1.5
/gnu/store/dsanf87vckinmr6raf0s2ba012nxix2y-ecl-cl-ppcre-2.1.1
/gnu/store/6l4s6z5mdrv9vnkayi9p6c6bkazig7jx-ecl-flexi-streams-1.0.19
/gnu/store/dm6lxnizba2bgk2ji65cqxr91n035ms3-ecl-trivial-gray-streams-0.0.0-1.ebd59b1
/gnu/store/d721rnd85y0ri5v0axbv1rf8dykh40zb-ecl-cl-containers-0.12.1-3.3d1df53
/gnu/store/zvd01rkld069x6av35r1w1zd77pkj7v5-ecl-metatilities-base-0.6.6-1.6eaa9e3
/gnu/store/9axlwwmx4wkyjmzh9xf2hqli52m3nmnh-ecl-local-time-1.0.6-2.a177eb9
/gnu/store/yz3mjs3kd7x54v3h6d7wayli6pck4i8a-ecl-hu.dwim.stefil-0.0.0-2.414902c
/gnu/store/byfba0c2qw1vsp8jk6951nyrfj7sflcm-ecl-hu.dwim.asdf-20200724
/gnu/store/9dfqa7dblm7d7mq9a78zsaxkb4zsa8hq-ecl-gettext-0.0.0-1.a432020
/gnu/store/70rvr1a37ws160igi3kyslx91x7iza1r-ecl-cl-yacc-0.3
/gnu/store/ghyk1ag2126a1y76kl26v5q2p94y8lhi-ecl-stefil-0.1-0.0398548
/gnu/store/5ica95l7955r8vrh4hvh62zcjplw37s1-ecl-slime-swank-2.26
/gnu/store/pfyc11gma4a37zxbaqpnd9ii6w1lbmc5-ecl-metabang-bind-0.8.0-1.c93b7f7
/gnu/store/5a8zz1hgmjgylgy039f4knpcx3ra8p0i-ecl-closer-mop-1.0.0-2.19c9d33
/gnu/store/q9wr7pscm3ybi8l5m8wlk2p9jmb4sd8d-ecl-cl-slice-0.1.0-1.c531683
/gnu/store/726v1hwb34z10zjl4wnd3byasy5y3y53-ecl-let-plus-0.0.0-1.5f14af6
/gnu/store/hqaan7cxsm6a64gbdgahyn3lvxzm5bxr-ecl-anaphora-0.9.6
/gnu/store/x70zzbn22h98yaj58anp1j8j23fy2brx-ecl-clunit-0.2.3-1.6f6d728
/gnu/store/643zsw1bi3hppp8v4bkl7g0pmvw64gxl-ecl-cl-locale-0.1.1-1.0a36cc0
/gnu/store/kyigmxbd8fg2j5rsgj19hlc6lxc6lppb-ecl-cl-syntax-0.0.3
/gnu/store/ww16w4n8h12qz4cf7a2h84g5sw2fq2bw-ecl-trivial-types-0.0.1
/gnu/store/92hjk4mkdqi9fqqm0aq09rnd7097x893-ecl-named-readtables-0.9-3.585a28e
/gnu/store/772zs2r0w2p6r1v29l9fdx3rilqz8kn1-ecl-cl-interpol-0.2.7-1.70a1137
/gnu/store/hxic7r1wckr97vamls7qvsdnm1sl7xmg-ecl-cl-unicode-0.1.6
/gnu/store/72lmjdq96nvv0hf9vck2zj48dzwk94sl-ecl-cl-annot-0.0.0-1.c99e69c
/gnu/store/a5zr7a4hvcg5ivwdga7gsnw2fvhaipxz-ecl-arnesi-2.0.0-1.1e7dc4c
/gnu/store/0jgfhrfgp1nch07m2hv4dcqcd35i1m7w-ecl-collectors-0.1-1.13acef2
/gnu/store/smy6l3rxmn5d9b4ca1llws3m9vw9qd77-ecl-symbol-munger-0.0.1-1.97598d4
/gnu/store/akbwj1f26q866y8931f4sxxlsl2l6y8p-ecl-lisp-unit2-0.2.0-1.fb97215
/gnu/store/kwl23pax3axla9m95kg9x7fxnr22vblp-ecl-prove-1.0.0-1.4f9122b
/gnu/store/w9iygpx9vdg7c3iyp2a3av0qb2r05gv5-ecl-cl-ansi-text-1.0.0-1.53badf7
/gnu/store/3z5qypb41zmf3j7ikzc4hdlqv3prsl2x-ecl-cl-colors-0.0.0-1.8274105
/gnu/store/di210ilm4l2v17hkc93z56dxgbwry4ik-ecl-babel-0.5.0-1.aeed2d1
/gnu/store/5q5rcp11iv64j55b30h16klfs0iil1yr-ecl-trivial-features-0.8-1.870d03d
/gnu/store/2igznyhw21fghg29amw0lsq9bdj9cl85-ecl-access-1.5.0-1.1b26db3
/gnu/store/b9rr864pjzwijbivbf87iyb10ybaphh8-ecl-djula-0.2.0-1.5df7af3
#+end_src

--8<---------------cut here---------------start------------->8---
-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.
From 76bc2f408f5cc0ae35a802056c5dbe665d1b75e8 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <[email-masked]>
Date: Sun, 23 May 2021 21:26:49 +0100
Subject: [PATCH 6/6] gnu: Add cl-djula

* gnu/packages/lisp-xyz.scm: (sbcl-djula, ecl-djula, cl-djula): New
  variables.
---
 gnu/packages/lisp-xyz.scm | 46 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 0c68460588..fa3c688a7c 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -17059,3 +17059,49 @@ CL-I18N and CL-L10N.")
 
 (define-public cl-slice
   (sbcl-package->cl-source-package sbcl-cl-slice))
+
+(define-public sbcl-djula
+  (let ((commit "5df7af35a21503d468a878fc6029caa527a7d204")
+        (revision "1"))
+    (package
+      (name "sbcl-djula")
+      (version (git-version "0.2.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/mmontone/djula")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1lk2ypm3sacf60h96a7hv9jwjlxkl4k40yzdalmqdg548vrd1jjm"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs
+       `(("fiveam" ,sbcl-fiveam)))
+      (inputs
+       `(("access" ,sbcl-access)
+         ("alexandria" ,sbcl-alexandria)
+         ("anaphora" ,sbcl-anaphora)
+         ("babel" ,sbcl-babel)
+         ("cl-locale" ,sbcl-cl-locale)
+         ("cl-ppcre" ,sbcl-cl-ppcre)
+         ("cl-slice" ,sbcl-cl-slice)
+         ("closer-mop" ,sbcl-closer-mop)
+         ("gettext" ,sbcl-gettext)
+         ("iterate" ,sbcl-iterate)
+         ("local-time" ,sbcl-local-time)
+         ("parser-combinators" ,sbcl-parser-combinators)
+         ("split-sequence" ,sbcl-split-sequence)
+         ("trivial-backtrace" ,sbcl-trivial-backtrace)))
+      (home-page "https://mmontone.github.io/djula/")
+      (synopsis "Common Lisp port of the Django templating language")
+      (description
+       "This package provides a Common Lisp templating system based on Python
+Django with similar syntax like Pyton Jinja2.")
+      (license license:expat))))
+
+(define-public ecl-djula
+  (sbcl-package->ecl-package sbcl-djula))
+
+(define-public cl-djula
+  (sbcl-package->cl-source-package sbcl-djula))
-- 
2.31.1