12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- ;;; guile-webutils -- Web application utilities for Guile
- ;;; Copyright © 2017 Christopher Allan Webber <cwebber@dustycloud.org>
- ;;;
- ;;; This program is free software: you can redistribute it and/or
- ;;; modify it under the terms of the GNU General Public License
- ;;; as published by the Free Software Foundation, either version 3 of
- ;;; the License, or (at your option) any later version.
- ;;;
- ;;; This program is distributed in the hope that it will be useful,
- ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
- ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- ;;; General Public License for more details.
- ;;;
- ;;; You should have received a copy of the GNU General Public License
- ;;; along with this program. If not, see
- ;;; <http://www.gnu.org/licenses/>.
- (use-modules (guix packages)
- (guix build-system gnu)
- (guix download)
- (guix git-download)
- (guix gexp)
- ((guix build utils) #:select (with-directory-excursion))
- (gnu packages)
- (gnu packages autotools)
- (gnu packages base)
- (gnu packages guile)
- (gnu packages guile-xyz)
- (gnu packages pkg-config)
- (gnu packages texinfo)
- (gnu packages gnupg)
- (guix licenses))
- (define %source-dir (dirname (current-filename)))
- (define guile-webutils
- (package
- (name "guile-webutils")
- (version "git")
- (source (local-file %source-dir
- #:recursive? #t
- #:select? (git-predicate %source-dir)))
- (build-system gnu-build-system)
- (arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'bootstrap
- (lambda _ (zero? (system* "sh" "bootstrap.sh")))))))
- (native-inputs
- `(("pkg-config" ,pkg-config)
- ("autoconf" ,autoconf)
- ("automake" ,automake)
- ("texinfo" ,texinfo)))
- (inputs
- `(("guile" ,guile-3.0)))
- (propagated-inputs
- ;; @@: We use guile-irregex for date.scm, but we could refactor
- ;; it and get rid of this dependency.
- `(("guile-irregex" ,guile-irregex)
- ("guile-gcrypt" ,guile-gcrypt)))
- (home-page "https://notabug.org/cwebber/guile-webutils")
- (synopsis "Web application authoring utilities for Guile")
- (description "Tooling to write web applications in Guile.")
- (license gpl3+)))
- guile-webutils
|