summaryrefslogtreecommitdiff
path: root/thomaslabs/packages/lisp-xyz.scm
blob: 6e95cb8585eac8d47a9f66eb9b887d1db35dbec9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
(define-module (thomaslabs packages lisp-xyz)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module ((guix licenses) #:prefix license:)

  #:use-module (guix build-system asdf)

  #:use-module (gnu packages lisp-xyz)
  #:use-module (gnu packages web))

(define-public sbcl-eco
  (package
    (name "sbcl-eco")
    (version "1.0")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/eudoxia0/eco.git")
                    (commit "0052f5e5d456f389fbfc4d1a92846217cf533285")))
              (file-name (git-file-name name version))
              (sha256
               (base32 "13fsv9v7fhf05p7j1hrfy2sg813wmgsp9aw4ng4cpzdss24zvf7q"))))
    (build-system asdf-build-system/sbcl)
    (inputs (list sbcl-esrap
                  sbcl-alexandria
                  sbcl-split-sequence
                  sbcl-cl-who))
    (synopsis "")
    (description "")
    (home-page "")
    (license license:cc0)))

(define-public sbcl-fastcgi
  (package
    (name "sbcl-fastcgi")
    (version "1.0")
    (source (origin
              (method url-fetch)
              (uri "file:///home/thomas/code/lisp/fastcgi")
              (sha256
               (base32 "0ngh8b51ngh3bqacl40j6wwiinhwxswsy02d9k7qlzv9sbjxay4s"))))
    (build-system asdf-build-system/sbcl)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'fix-paths
           (lambda* (#:key inputs #:allow-other-keys)
             (substitute* "src/fcgx.lisp"
               (("libfcgi.so" all)
                (string-append (assoc-ref inputs "fcgi") "/lib/" all)))
             #t)))))
    (inputs (list fcgi
                  sbcl-cffi
                  sbcl-alexandria
                  sbcl-quri))
    (synopsis "")
    (description "")
    (home-page "")
    (license license:cc0)))

(define-public autotag
  (package
    (name "autotag")
    (version "0.0.1")
    (source (origin
              (uri (git-reference
                    (url "git://thomaslabs.org/autotag")
                    (commit "1077ec862c5e5dd893c9aed71adbe368c931b643")))
              (sha256
               (base32 "1pdq94dvzwccvfkqj33n8j310i2rhw19kvsmhzkxcsjh38dyx85f"))
              (method git-fetch)))
    (inputs (list cl-str
                  sbcl-plump
                  sbcl-babel
                  sbcl-drakma
                  sbcl-trivial-shell
                  sbcl-split-sequence
                  sbcl-alexandria
                  sbcl-just-getopt-parser
                  sbcl-osicat
                  sbcl-slynk
                  sbcl-cl-interpol))
    (arguments '(#:phases
                 (modify-phases %standard-phases
                   (add-after 'create-asdf-configuration 'build-program
                     (lambda* (#:key outputs #:allow-other-keys)
                       (build-program
                        (string-append (assoc-ref outputs "out") "/bin/autotag")
                        outputs
                        #:entry-program '((autotag:main) 0)))))))
    (build-system asdf-build-system/sbcl)
    (synopsis "")
    (description "")
    (home-page "")
    (license license:gpl3)))