gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
|
2019-04-04 12:35:15 +00:00
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
|
|
|
|
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
|
|
|
|
;;; Copyright © 2017 rsiddharth <s@ricketyspace.net>
|
2017-11-30 13:33:36 +00:00
|
|
|
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
|
2019-06-05 21:43:22 +00:00
|
|
|
;;; Copyright © 2019 Robert Vollmert <rob@vllmrt.net>
|
2019-07-08 01:00:52 +00:00
|
|
|
;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
|
2020-01-04 08:42:46 +00:00
|
|
|
;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@gmail.com>
|
2016-10-08 07:36:23 +00:00
|
|
|
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
|
2022-03-27 03:26:03 +00:00
|
|
|
;;; Copyright © 2020, 2022 Kyle Meyer <kyle@kyleam.com>
|
2020-01-04 08:52:06 +00:00
|
|
|
;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@member.fsf.org>
|
2020-12-04 19:15:38 +00:00
|
|
|
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
|
2022-09-13 15:35:20 +00:00
|
|
|
;;; Copyright © 2022 Alice Brenon <alice.brenon@ens-lyon.fr>
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix 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.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix 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 GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages haskell-web)
|
|
|
|
#:use-module (gnu packages)
|
2018-08-29 05:16:59 +00:00
|
|
|
#:use-module (gnu packages curl)
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
#:use-module (gnu packages haskell)
|
|
|
|
#:use-module (gnu packages haskell-check)
|
gnu: Move crypto packages from haskell to haskell-crypto.
* gnu/packages/haskell.scm (ghc-asn1-types, ghc-asn1-encoding, ghc-asn1-parse,
ghc-crypto-api, ghc-crypto-api-tests, ghc-cryptohash, ghc-cryptohash-md5,
ghc-cryptohash-sha1, ghc-cryptonite, ghc-digest, ghc-entropy, ghc-pem,
ghc-puremd5, ghc-sha, ghc-x509, ghc-x509-store, ghc-x509-validation,
ghc-x509-system): Move variables to ...
* gnu/packages/haskell-crypto.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/haskell-web.scm,
gnu/packages/version-control.scm: Include haskell-crypto module.
2017-11-13 17:34:27 +00:00
|
|
|
#:use-module (gnu packages haskell-crypto)
|
2019-07-15 08:30:26 +00:00
|
|
|
#:use-module (gnu packages haskell-xyz)
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
#:use-module (guix build-system haskell)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix utils))
|
|
|
|
|
|
|
|
(define-public ghc-tagsoup
|
|
|
|
(package
|
|
|
|
(name "ghc-tagsoup")
|
2019-10-31 13:54:21 +00:00
|
|
|
(version "0.14.8")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "tagsoup" version))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-10-31 13:54:21 +00:00
|
|
|
"1m9sx6gr9y9yxvkmcap8xsks8cnhznvma1mrfl39zljkv005azms"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "tagsoup")))
|
2018-02-13 08:20:38 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-quickcheck))
|
2020-01-18 20:03:12 +00:00
|
|
|
(home-page "https://github.com/ndmitchell/tagsoup")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(synopsis
|
|
|
|
"Parsing and extracting information from (possibly malformed) HTML/XML
|
|
|
|
documents")
|
|
|
|
(description
|
|
|
|
"TagSoup is a library for parsing HTML/XML. It supports the HTML 5
|
|
|
|
specification, and can be used to parse either well-formed XML, or
|
|
|
|
unstructured and malformed HTML from the web. The library also provides
|
|
|
|
useful functions to extract information from an HTML document, making it ideal
|
|
|
|
for screen-scraping.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
(define-public ghc-cookie
|
|
|
|
(package
|
|
|
|
(name "ghc-cookie")
|
2021-09-20 08:49:34 +00:00
|
|
|
(version "0.4.5")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "cookie" version))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-09-20 08:49:34 +00:00
|
|
|
"10rmdasb7mypbwxdj2mhr810vqhkakpik7hyd8fvj60hng8r8zvh"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "cookie")))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-old-locale
|
|
|
|
ghc-blaze-builder
|
|
|
|
ghc-data-default-class
|
|
|
|
ghc-hunit
|
|
|
|
ghc-quickcheck
|
|
|
|
ghc-tasty
|
|
|
|
ghc-tasty-hunit
|
|
|
|
ghc-tasty-quickcheck))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(home-page "https://github.com/snoyberg/cookie")
|
|
|
|
(synopsis "HTTP cookie parsing and rendering")
|
|
|
|
(description "HTTP cookie parsing and rendering library for Haskell.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
2016-10-08 07:36:23 +00:00
|
|
|
(define-public ghc-curl
|
|
|
|
(package
|
|
|
|
(name "ghc-curl")
|
|
|
|
(version "1.3.8")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "curl" version))
|
2016-10-08 07:36:23 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0vj4hpaa30jz7c702xpsfvqaqdxz28zslsqnsfx6bf6dpwvck1wh"))))
|
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "curl")))
|
2016-10-08 07:36:23 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list curl))
|
2016-10-08 07:36:23 +00:00
|
|
|
(home-page "https://hackage.haskell.org/package/curl")
|
|
|
|
(synopsis "Haskell bindings for libcurl")
|
|
|
|
(description
|
|
|
|
"@code{libcurl} is a versatile client-side URL transfer library.
|
|
|
|
This package provides a Haskell binding to libcurl.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
2018-08-15 09:22:41 +00:00
|
|
|
(define-public ghc-httpd-shed
|
|
|
|
(package
|
|
|
|
(name "ghc-httpd-shed")
|
2019-10-31 17:08:15 +00:00
|
|
|
(version "0.4.1.1")
|
2018-08-15 09:22:41 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "httpd-shed" version))
|
2018-08-15 09:22:41 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-10-31 17:08:15 +00:00
|
|
|
"19dgdimpzr7pxk7pqvyin6j87gmvnf0rm35gzhmna8qr835wy3sr"))))
|
2018-08-15 09:22:41 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "httpd-shed")))
|
2018-08-15 09:22:41 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-network-bsd ghc-network-uri ghc-network))
|
2018-08-15 09:22:41 +00:00
|
|
|
(home-page "https://hackage.haskell.org/package/httpd-shed")
|
|
|
|
(synopsis "Simple web-server with an interact style API")
|
|
|
|
(description
|
|
|
|
"This web server promotes a function from @code{Request} to @code{IO
|
|
|
|
Response} into a local web server. The user can decide how to interpret the
|
|
|
|
requests, and the library is intended for implementing Ajax APIs.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(define-public ghc-http-types
|
|
|
|
(package
|
|
|
|
(name "ghc-http-types")
|
2019-06-05 21:43:22 +00:00
|
|
|
(version "0.12.3")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "http-types" version))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-06-05 21:43:22 +00:00
|
|
|
"05j00b9nqmwh9zaq9y9x50k81v2pd3j7a71kd91zlnbl8xk4m2jf"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "http-types")))
|
2017-12-05 17:25:00 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-doctest ghc-hspec ghc-quickcheck ghc-quickcheck-instances
|
|
|
|
hspec-discover))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-case-insensitive))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(home-page "https://github.com/aristidb/http-types")
|
|
|
|
(synopsis "Generic HTTP types for Haskell")
|
|
|
|
(description "This package provides generic HTTP types for Haskell (for
|
|
|
|
both client and server code).")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
(define-public ghc-http
|
|
|
|
(package
|
|
|
|
(name "ghc-http")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "4000.4.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "HTTP" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0lyl5lpkk51xn3dfndh8ksgvwcdsviyigmsnp3d28lbpxkpxhcfz"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "HTTP")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-network ghc-network-uri))
|
|
|
|
(native-inputs (list ghc-httpd-shed
|
|
|
|
ghc-hunit
|
|
|
|
ghc-puremd5
|
|
|
|
ghc-split
|
|
|
|
ghc-test-framework
|
|
|
|
ghc-test-framework-hunit))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(arguments
|
2023-01-15 09:09:44 +00:00
|
|
|
`(#:tests? #f ; Tests fail due to missing /etc/protocols?
|
|
|
|
#:cabal-revision ("1"
|
|
|
|
"04y04vbxbnblpmqqmpl8km4bkcjaj96nbxkssdr1zgbhqisxay5q")))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(home-page "https://github.com/haskell/HTTP")
|
|
|
|
(synopsis "Library for client-side HTTP")
|
|
|
|
(description
|
|
|
|
"The HTTP package supports client-side web programming in Haskell. It
|
|
|
|
lets you set up HTTP connections, transmitting requests and processing the
|
|
|
|
responses coming back.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
(define-public ghc-http-client
|
|
|
|
(package
|
|
|
|
(name "ghc-http-client")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "0.7.13.1")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "http-client" version))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-01-15 09:09:44 +00:00
|
|
|
"09qfmakjk285jz2rnb53c1m9c764fg8vngfq43ipga1g72h8d3n9"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "http-client")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-http-types
|
|
|
|
ghc-blaze-builder
|
|
|
|
ghc-network
|
|
|
|
ghc-streaming-commons
|
|
|
|
ghc-case-insensitive
|
|
|
|
ghc-base64-bytestring
|
|
|
|
ghc-cookie
|
|
|
|
ghc-random
|
|
|
|
ghc-mime-types
|
|
|
|
ghc-iproute
|
|
|
|
ghc-async
|
|
|
|
ghc-network-uri))
|
|
|
|
(native-inputs (list ghc-hspec
|
|
|
|
ghc-monad-control
|
|
|
|
ghc-zlib
|
|
|
|
ghc-hspec
|
|
|
|
ghc-monad-control
|
|
|
|
ghc-zlib
|
|
|
|
hspec-discover))
|
|
|
|
(arguments (list #:tests? #f)) ; Tests try to access httpbin.org.
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(home-page "https://github.com/snoyberg/http-client")
|
|
|
|
(synopsis "HTTP client engine")
|
|
|
|
(description
|
|
|
|
"This package provides an HTTP client engine, intended as a base layer
|
|
|
|
for more user-friendly packages.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
(define-public ghc-http-client-tls
|
|
|
|
(package
|
|
|
|
(name "ghc-http-client-tls")
|
2022-03-27 03:26:02 +00:00
|
|
|
(version "0.3.6.1")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "http-client-tls" version))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2022-03-27 03:26:02 +00:00
|
|
|
"03f8p9gxdzl6slyw1r6vpv2dqhsyjvbaawbjv75kaq0vlj3gz7xi"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "http-client-tls")))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
;; Tests require Internet access
|
|
|
|
(arguments `(#:tests? #f))
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-data-default-class
|
|
|
|
ghc-http-client
|
|
|
|
ghc-connection
|
|
|
|
ghc-network
|
|
|
|
ghc-tls
|
|
|
|
ghc-http-types))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-hspec))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(home-page "https://github.com/snoyberg/http-client")
|
|
|
|
(synopsis "Backend for http-client using the TLS library")
|
|
|
|
(description
|
|
|
|
"This package provides a backend for the http-client package using the
|
|
|
|
connection and TLS libraries. It is intended for use by higher-level
|
|
|
|
libraries, such as http-conduit.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2022-03-27 03:26:03 +00:00
|
|
|
(define-public ghc-http-client-restricted
|
|
|
|
(package
|
|
|
|
(name "ghc-http-client-restricted")
|
|
|
|
(version "0.0.5")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "http-client-restricted" version))
|
|
|
|
(sha256
|
|
|
|
(base32 "1vfm9qc3zr0rmq2ddgyg13i67020cdk8xqhyzfc2zcn1km2p6r85"))))
|
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "http-client-restricted")))
|
2022-03-27 03:26:03 +00:00
|
|
|
(inputs
|
|
|
|
(list ghc-http-client
|
|
|
|
ghc-http-client-tls
|
|
|
|
ghc-connection
|
|
|
|
ghc-data-default
|
|
|
|
ghc-network
|
|
|
|
ghc-network-bsd
|
|
|
|
ghc-utf8-string))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
(home-page "https://hackage.haskell.org/package/http-client-restricted")
|
2022-03-27 03:26:03 +00:00
|
|
|
(synopsis "Restrict the servers used by http-client")
|
|
|
|
(description
|
|
|
|
"This library makes it possible to restrict the HTTP servers that can be
|
|
|
|
used by the @code{http-client} and @code{http-client-tls} libraries. This is
|
|
|
|
useful when a security policy needs to, e.g., prevent connections to HTTP
|
|
|
|
servers on localhost or only allow connections to a specific server.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(define-public ghc-http-date
|
|
|
|
(package
|
|
|
|
(name "ghc-http-date")
|
2021-09-20 08:49:34 +00:00
|
|
|
(version "0.0.11")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "http-date" version))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-09-20 08:49:34 +00:00
|
|
|
"1lzlrj2flcnz3k5kfhf11nk5n8m6kcya0lkwrsnzxgfr3an27y9j"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "http-date")))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-attoparsec))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-doctest ghc-hspec hspec-discover ghc-old-locale))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(home-page "https://github.com/kazu-yamamoto/http-date")
|
|
|
|
(synopsis "HTTP Date parser/formatter")
|
|
|
|
(description "Library for Parsing and formatting HTTP
|
|
|
|
Date in Haskell.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
(define-public ghc-http2
|
|
|
|
(package
|
|
|
|
(name "ghc-http2")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "3.0.3")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "http2" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1kv99i3pnnx31xndlkaczrpd2j5mvzbqlfz1kaw6cwlwkdnl5bhv"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "http2")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-async
|
|
|
|
ghc-case-insensitive
|
|
|
|
ghc-http-types
|
|
|
|
ghc-network
|
|
|
|
ghc-network-byte-order
|
|
|
|
ghc-psqueues
|
|
|
|
ghc-time-manager
|
|
|
|
ghc-unix-time
|
|
|
|
ghc-network-run
|
|
|
|
ghc-cryptonite
|
|
|
|
ghc-aeson
|
|
|
|
ghc-aeson-pretty
|
|
|
|
ghc-base16-bytestring
|
|
|
|
ghc-unordered-containers
|
|
|
|
ghc-vector
|
|
|
|
ghc-word8))
|
|
|
|
(native-inputs (list ghc-doctest
|
|
|
|
ghc-hspec
|
|
|
|
ghc-typed-process
|
|
|
|
ghc-hspec
|
|
|
|
ghc-typed-process
|
|
|
|
ghc-hspec
|
|
|
|
ghc-glob
|
|
|
|
ghc-hspec
|
|
|
|
hspec-discover))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(home-page "https://github.com/kazu-yamamoto/http2")
|
|
|
|
(synopsis "HTTP/2 library including frames, priority queues and HPACK")
|
2023-01-15 09:09:44 +00:00
|
|
|
(description
|
|
|
|
"This package provides a HTTP/2.0 library including frames
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
and HPACK. Currently HTTP/2 16 framing and HPACK 10 is supported.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
(define-public ghc-http-conduit
|
|
|
|
(package
|
|
|
|
(name "ghc-http-conduit")
|
2021-09-20 08:49:34 +00:00
|
|
|
(version "2.3.8")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "http-conduit" version))
|
2018-08-15 09:24:25 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-09-20 08:49:34 +00:00
|
|
|
"1bj24phbcb7s3k6v48l5gk82m3m23j8zy9l7c5ccxp3ghn9z5gng"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "http-conduit")))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
;; FIXME: `httpLbs TLS` in test-suite `test` fails with
|
|
|
|
;; ConnectionFailure getProtocolByName: does not exist (no such protocol
|
|
|
|
;; name: tcp)
|
|
|
|
(arguments `(#:tests? #f))
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-aeson
|
|
|
|
ghc-resourcet
|
|
|
|
ghc-conduit
|
|
|
|
ghc-conduit-extra
|
|
|
|
ghc-http-types
|
|
|
|
ghc-lifted-base
|
|
|
|
ghc-http-client
|
|
|
|
ghc-http-client-tls
|
|
|
|
ghc-monad-control
|
|
|
|
ghc-exceptions
|
|
|
|
ghc-unliftio))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-hunit
|
|
|
|
ghc-hspec
|
|
|
|
ghc-data-default-class
|
|
|
|
ghc-connection
|
|
|
|
ghc-warp-tls
|
|
|
|
ghc-blaze-builder
|
|
|
|
ghc-conduit
|
|
|
|
ghc-utf8-string
|
|
|
|
ghc-case-insensitive
|
|
|
|
ghc-lifted-base
|
|
|
|
ghc-network
|
|
|
|
ghc-wai
|
|
|
|
ghc-warp
|
|
|
|
ghc-wai-conduit
|
|
|
|
ghc-http-types
|
|
|
|
ghc-cookie
|
|
|
|
ghc-conduit-extra
|
|
|
|
ghc-streaming-commons
|
|
|
|
ghc-aeson
|
|
|
|
ghc-temporary
|
|
|
|
ghc-resourcet))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(home-page "https://hackage.haskell.org/package/http-conduit")
|
|
|
|
(synopsis "HTTP/HTTPS client with conduit interface")
|
|
|
|
(description "This library uses attoparsec for parsing the actual
|
|
|
|
contents of the HTTP connection. It also provides higher-level functions
|
|
|
|
which allow you to avoid direct usage of conduits.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
2020-01-04 08:52:06 +00:00
|
|
|
(define-public ghc-http-reverse-proxy
|
|
|
|
(package
|
|
|
|
(name "ghc-http-reverse-proxy")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "0.6.0.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "http-reverse-proxy" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0a0fc9rqr1crbb1sbq3gzbkwjcfff662d4bgmy3vzspk7ky697ld"))))
|
2020-01-04 08:52:06 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "http-reverse-proxy")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-case-insensitive
|
|
|
|
ghc-http-types
|
|
|
|
ghc-word8
|
|
|
|
ghc-blaze-builder
|
|
|
|
ghc-http-client
|
|
|
|
ghc-wai
|
|
|
|
ghc-network
|
|
|
|
ghc-conduit
|
|
|
|
ghc-conduit-extra
|
|
|
|
ghc-wai-logger
|
|
|
|
ghc-resourcet
|
|
|
|
ghc-unliftio
|
|
|
|
ghc-streaming-commons))
|
|
|
|
(native-inputs (list ghc-hspec ghc-warp ghc-http-conduit))
|
|
|
|
(home-page "https://github.com/fpco/http-reverse-proxy")
|
2020-01-04 08:52:06 +00:00
|
|
|
(synopsis
|
|
|
|
"Reverse proxy HTTP requests, either over raw sockets or with WAI")
|
|
|
|
(description
|
|
|
|
"Provides a simple means of reverse-proxying HTTP requests. The raw
|
|
|
|
approach uses the same technique as leveraged by keter, whereas the WAI
|
|
|
|
approach performs full request/response parsing via WAI and http-conduit.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(define-public ghc-wai
|
|
|
|
(package
|
|
|
|
(name "ghc-wai")
|
2021-09-20 08:49:34 +00:00
|
|
|
(version "3.2.3")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "wai" version))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-09-20 08:49:34 +00:00
|
|
|
"1y19h9v0cq1fl17ywcyyvd6419fhgyw2s0yk0ki8z60021adcx2m"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "wai")))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-bytestring-builder
|
|
|
|
ghc-unix-compat
|
|
|
|
ghc-vault
|
|
|
|
ghc-blaze-builder
|
|
|
|
ghc-network
|
|
|
|
ghc-http-types))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list hspec-discover ghc-quickcheck ghc-hunit ghc-hspec))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(home-page "https://hackage.haskell.org/package/wai")
|
|
|
|
(synopsis "Web application interface for Haskell")
|
|
|
|
(description "This package provides a Web Application Interface (WAI)
|
|
|
|
library for the Haskell language. It defines a common protocol for
|
|
|
|
communication between web applications and web servers.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
(define-public ghc-wai-logger
|
|
|
|
(package
|
|
|
|
(name "ghc-wai-logger")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "2.4.0")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "wai-logger" version))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-01-15 09:09:44 +00:00
|
|
|
"02i9jsy5gdglqwwk5gcvax8y498lz9flrfp4v9nrv8rmrmd66zh5"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "wai-logger")))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(arguments `(#:tests? #f)) ; FIXME: Tests cannot find libraries exported
|
|
|
|
; by propagated-inputs.
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-auto-update
|
|
|
|
ghc-byteorder
|
|
|
|
ghc-easy-file
|
|
|
|
ghc-unix-time
|
|
|
|
ghc-blaze-builder
|
|
|
|
ghc-case-insensitive
|
|
|
|
ghc-fast-logger
|
|
|
|
ghc-http-types
|
|
|
|
ghc-network
|
|
|
|
ghc-wai))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(home-page "https://hackage.haskell.org/package/wai-logger")
|
|
|
|
(synopsis "Logging system for WAI")
|
|
|
|
(description "This package provides the logging system for WAI.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
(define-public ghc-wai-extra
|
|
|
|
(package
|
|
|
|
(name "ghc-wai-extra")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "3.1.13.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "wai-extra" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1h4cqd5akrq0vhv3l0fzryy7qw0c2jb58lngx7x8ij63bckjs3fz"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "wai-extra")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-aeson
|
|
|
|
ghc-ansi-terminal
|
|
|
|
ghc-base64-bytestring
|
|
|
|
ghc-call-stack
|
|
|
|
ghc-case-insensitive
|
|
|
|
ghc-cookie
|
|
|
|
ghc-data-default-class
|
|
|
|
ghc-fast-logger
|
|
|
|
ghc-http-types
|
|
|
|
ghc-hunit
|
|
|
|
ghc-iproute
|
|
|
|
ghc-network
|
|
|
|
ghc-resourcet
|
|
|
|
ghc-streaming-commons
|
|
|
|
ghc-vault
|
|
|
|
ghc-wai
|
|
|
|
ghc-wai-logger
|
|
|
|
ghc-warp
|
|
|
|
ghc-word8))
|
|
|
|
(native-inputs (list ghc-hspec ghc-temporary ghc-zlib hspec-discover))
|
|
|
|
(arguments
|
|
|
|
`(#:cabal-revision ("1"
|
|
|
|
"0dyvg2bb37im790757khncxpnf45451dd8575p736ry4g8rpqgpw")))
|
|
|
|
(home-page "http://github.com/yesodweb/wai")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(synopsis "Some basic WAI handlers and middleware")
|
|
|
|
(description "This library provides basic WAI handlers and middleware
|
|
|
|
functionality.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
(define-public ghc-wai-conduit
|
|
|
|
(package
|
|
|
|
(name "ghc-wai-conduit")
|
2018-08-29 05:02:44 +00:00
|
|
|
(version "3.0.0.4")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "wai-conduit" version))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2018-08-29 05:02:44 +00:00
|
|
|
"07yn41rn2skd5p3wqqa09wa761vj7ibl8l19gh4bi4i8slxhk417"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "wai-conduit")))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-conduit ghc-http-types ghc-wai ghc-blaze-builder))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(home-page "https://github.com/yesodweb/wai")
|
|
|
|
(synopsis "Conduit wrappers for Haskell's WAI")
|
|
|
|
(description "This package provides data streaming abstraction for
|
|
|
|
Haskell's Web Application Interface (WAI).")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2018-09-03 13:53:24 +00:00
|
|
|
(define-public ghc-bsb-http-chunked
|
|
|
|
(package
|
|
|
|
(name "ghc-bsb-http-chunked")
|
2019-10-31 05:28:37 +00:00
|
|
|
(version "0.0.0.4")
|
2018-09-03 13:53:24 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "bsb-http-chunked" version))
|
2018-09-03 13:53:24 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-10-31 05:28:37 +00:00
|
|
|
"0z0f18yc6zlwh29c6175ivfcin325lvi4irpvv0n3cmq7vi0k0ql"))))
|
2018-09-03 13:53:24 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "bsb-http-chunked")))
|
2019-11-08 07:25:25 +00:00
|
|
|
(arguments
|
2023-01-15 09:09:44 +00:00
|
|
|
`(#:tests? #f ; Tests fail: Variable not in scope.
|
2021-09-20 08:49:34 +00:00
|
|
|
#:cabal-revision
|
|
|
|
("3" "15hg352id2f4x0dnvv47bdiz6gv5hp5a2mki9yzmhc7ajpk31mdd")))
|
2019-10-31 05:28:37 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-attoparsec
|
|
|
|
ghc-blaze-builder
|
|
|
|
ghc-hedgehog
|
|
|
|
ghc-tasty
|
|
|
|
ghc-tasty-hedgehog
|
|
|
|
ghc-tasty-hunit
|
|
|
|
ghc-doctest))
|
gnu: Use HTTPS for github.com (and subdomains) home pages.
* gnu/packages/bioconductor.scm (r-qvalue)[home-page]: Use HTTPS and
follow permanent redirection.
* gnu/packages/check.scm (python-codecov, python-nosexcover)
[home-page]: Likewise.
* gnu/packages/cran.scm (r-ffbase, r-ggrepel, r-valr)
[home-page]: Likewise.
* gnu/packages/crates-io.scm (rust-block-0.1, rust-dispatch-0.1)
(rust-objc-0.2, rust-objc-exception-0.1)
(rust-objc-foundation-0.1, rust-objc-id-0.1, rust-objc-test-utils-0.0)
(rust-onig-5.0, rust-onig-sys-69.2, rust-vergen-3.1)
[home-page]: Likewise.
* gnu/packages/finance.scm (ledger-agent, keepkey-agent)
[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-tasty-expected-failure)
[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-bsb-http-chunked, ghc-warp)
(ghc-warp-tls)[home-page]: Likewise.
* gnu/packages/haskell-xyz.scm (ghc-configurator, ghc-hasktags)
(ghc-linear, ghc-newtype-generics, ghc-retry, ghc-xdg-basedir)
(ghc-pretty-show)[home-page]: Likewise.
* gnu/packages/java.scm (java-javax-inject)[home-page]: Likewise.
* gnu/packages/libffi.scm (ruby-ffi)[home-page]: Likewise.
* gnu/packages/linux.scm (procenv)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-aiodns, python-flask-htpasswd)
(python-pycares)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-progressbar33, python-whatever)
(python-funcy)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-rubyzip, ruby-spinach, ruby-gherkin-ruby)
(ruby-code-statistics, ruby-colorize, ruby-wwtd)[home-page]: Likewise.
2020-07-16 16:20:30 +00:00
|
|
|
(home-page "https://github.com/sjakobi/bsb-http-chunked")
|
2018-09-03 13:53:24 +00:00
|
|
|
(synopsis "Chunked HTTP transfer encoding for bytestring builders")
|
|
|
|
(description "This Haskell library contains functions for encoding
|
|
|
|
bytestring builders for chunked Hypertext Transfer Protocol (HTTP) 1.1
|
|
|
|
transfers.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(define-public ghc-warp
|
|
|
|
(package
|
|
|
|
(name "ghc-warp")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "3.3.23")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "warp" version))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(sha256
|
2023-01-15 09:09:44 +00:00
|
|
|
(base32 "0y1r7czq5zrgklqrx1b9pmxn5lhmf7zpqdjz7hfmnzsmr3vndmms"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "warp")))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-async
|
|
|
|
ghc-auto-update
|
|
|
|
ghc-bsb-http-chunked
|
|
|
|
ghc-case-insensitive
|
|
|
|
ghc-hashable
|
|
|
|
ghc-http-types
|
|
|
|
ghc-iproute
|
|
|
|
ghc-network
|
|
|
|
ghc-streaming-commons
|
|
|
|
ghc-time-manager
|
|
|
|
ghc-unix-compat
|
|
|
|
ghc-vault
|
|
|
|
ghc-wai
|
|
|
|
ghc-word8
|
|
|
|
ghc-http-date
|
|
|
|
ghc-simple-sendfile
|
|
|
|
ghc-unliftio
|
|
|
|
ghc-x509
|
2023-01-15 09:09:44 +00:00
|
|
|
ghc-http2
|
|
|
|
ghc-recv))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list curl
|
|
|
|
ghc-silently
|
|
|
|
ghc-hspec
|
|
|
|
ghc-doctest
|
|
|
|
ghc-lifted-base
|
|
|
|
ghc-quickcheck
|
|
|
|
ghc-hunit
|
|
|
|
ghc-http-client
|
|
|
|
hspec-discover))
|
gnu: Use HTTPS for github.com (and subdomains) home pages.
* gnu/packages/bioconductor.scm (r-qvalue)[home-page]: Use HTTPS and
follow permanent redirection.
* gnu/packages/check.scm (python-codecov, python-nosexcover)
[home-page]: Likewise.
* gnu/packages/cran.scm (r-ffbase, r-ggrepel, r-valr)
[home-page]: Likewise.
* gnu/packages/crates-io.scm (rust-block-0.1, rust-dispatch-0.1)
(rust-objc-0.2, rust-objc-exception-0.1)
(rust-objc-foundation-0.1, rust-objc-id-0.1, rust-objc-test-utils-0.0)
(rust-onig-5.0, rust-onig-sys-69.2, rust-vergen-3.1)
[home-page]: Likewise.
* gnu/packages/finance.scm (ledger-agent, keepkey-agent)
[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-tasty-expected-failure)
[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-bsb-http-chunked, ghc-warp)
(ghc-warp-tls)[home-page]: Likewise.
* gnu/packages/haskell-xyz.scm (ghc-configurator, ghc-hasktags)
(ghc-linear, ghc-newtype-generics, ghc-retry, ghc-xdg-basedir)
(ghc-pretty-show)[home-page]: Likewise.
* gnu/packages/java.scm (java-javax-inject)[home-page]: Likewise.
* gnu/packages/libffi.scm (ruby-ffi)[home-page]: Likewise.
* gnu/packages/linux.scm (procenv)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-aiodns, python-flask-htpasswd)
(python-pycares)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-progressbar33, python-whatever)
(python-funcy)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-rubyzip, ruby-spinach, ruby-gherkin-ruby)
(ruby-code-statistics, ruby-colorize, ruby-wwtd)[home-page]: Likewise.
2020-07-16 16:20:30 +00:00
|
|
|
(home-page "https://github.com/yesodweb/wai")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(synopsis "HTTP server library for Haskell's WAI")
|
|
|
|
(description "Warp is a server library for HTTP/1.x and HTTP/2
|
|
|
|
based WAI (Web Application Interface in Haskell).")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2018-09-04 04:09:27 +00:00
|
|
|
(define-public ghc-tls-session-manager
|
|
|
|
(package
|
|
|
|
(name "ghc-tls-session-manager")
|
2021-09-20 08:49:34 +00:00
|
|
|
(version "0.0.4")
|
2018-09-04 04:09:27 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "tls-session-manager" version))
|
2018-09-04 04:09:27 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-09-20 08:49:34 +00:00
|
|
|
"134kb5nz668f4xrr5g98g7fc1bwb3ri6q433a1i6asjkniwpy85s"))))
|
2018-09-04 04:09:27 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "tls-session-manager")))
|
2018-09-04 04:09:27 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-auto-update ghc-clock ghc-psqueues ghc-tls))
|
gnu: Use HTTPS for hackage.haskell.org home pages.
* gnu/packages/haskell-xyz.scm (ghc-network-byte-order)
(ghc-base-compat-batteries, ghc-regex-tdfa-text, ghc-sdl2-image)
(ghc-language-glsl, ghc-sop-core, ghc-libffi, ghc-path, ghc-io-streams)
(ghc-openssl-streams, ghc-haskell-lexer, ghc-prettyclass, ghc-ifelse)
(ghc-sdl2-mixer, ghc-errorcall-eq-instance, ghc-filepath-bytestring)
(ghc-refact, ghc-pointedlist, ghc-string-qq, ghc-tls-session-manager)
(ghc-magic, ghc-exactprint, ghc-inline-c, ghc-infer-license)
(ghc-unagi-chan)[home-page]: Use HTTPS.
2020-01-18 20:19:31 +00:00
|
|
|
(home-page "https://hackage.haskell.org/package/tls-session-manager")
|
2018-09-04 04:09:27 +00:00
|
|
|
(synopsis "In-memory TLS session manager")
|
|
|
|
(description "This Haskell library provides a TLS session manager with
|
|
|
|
limitation, automatic pruning, energy saving and replay resistance.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(define-public ghc-warp-tls
|
|
|
|
(package
|
|
|
|
(name "ghc-warp-tls")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "3.3.4")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "warp-tls" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"00vgs9v7k0fapl05knqii9g47svf4lapb7ixkll7xr4zvmkk0r0m"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "warp-tls")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-wai
|
|
|
|
ghc-warp
|
|
|
|
ghc-data-default-class
|
|
|
|
ghc-tls
|
|
|
|
ghc-cryptonite
|
|
|
|
ghc-network
|
|
|
|
ghc-streaming-commons
|
|
|
|
ghc-tls-session-manager
|
|
|
|
ghc-unliftio))
|
|
|
|
(home-page "http://github.com/yesodweb/wai")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(synopsis "SSL/TLS support for Warp")
|
|
|
|
(description "This package provides SSL/TLS support for Warp,
|
|
|
|
a WAI handler, via the native Haskell TLS implementation.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2019-12-13 15:12:42 +00:00
|
|
|
(define-public ghc-websockets
|
|
|
|
(package
|
|
|
|
(name "ghc-websockets")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "0.12.7.3")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "websockets" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0g3z0n4irf3gvbdf9p97jq05ybdg0gwjy5bj4nfc7ivsvyhaic6k"))))
|
2019-12-13 15:12:42 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "websockets")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-async
|
|
|
|
ghc-attoparsec
|
|
|
|
ghc-base64-bytestring
|
|
|
|
ghc-bytestring-builder
|
|
|
|
ghc-case-insensitive
|
|
|
|
ghc-clock
|
|
|
|
ghc-network
|
|
|
|
ghc-random
|
|
|
|
ghc-sha
|
|
|
|
ghc-streaming-commons
|
|
|
|
ghc-entropy))
|
|
|
|
(native-inputs (list ghc-hunit ghc-quickcheck ghc-test-framework
|
|
|
|
ghc-test-framework-hunit
|
|
|
|
ghc-test-framework-quickcheck2))
|
|
|
|
(arguments
|
|
|
|
`(#:cabal-revision ("1"
|
|
|
|
"1yx97y6jl74vy200y43vjxfyzx338kh10dx8vxkjhr0mfh36wldq")))
|
|
|
|
(home-page "http://jaspervdj.be/websockets")
|
|
|
|
(synopsis "Write WebSocket-capable servers in Haskell")
|
2019-12-13 15:12:42 +00:00
|
|
|
(description
|
|
|
|
"This library allows you to write WebSocket-capable servers.
|
|
|
|
|
|
|
|
An example server:
|
|
|
|
@url{https://github.com/jaspervdj/websockets/blob/master/example/server.lhs}
|
|
|
|
An example client:
|
|
|
|
@url{https://github.com/jaspervdj/websockets/blob/master/example/client.hs}
|
|
|
|
|
|
|
|
See also:
|
|
|
|
@itemize
|
|
|
|
@item The specification of the WebSocket protocol:
|
|
|
|
@url{http://www.whatwg.org/specs/web-socket-protocol/}
|
|
|
|
@item The JavaScript API for dealing with WebSockets:
|
|
|
|
@url{http://www.w3.org/TR/websockets/}
|
|
|
|
@end itemize")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
2019-12-13 15:37:29 +00:00
|
|
|
(define-public ghc-wai-websockets
|
|
|
|
(package
|
|
|
|
(name "ghc-wai-websockets")
|
|
|
|
(version "3.0.1.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "wai-websockets" version))
|
2019-12-13 15:37:29 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0b2xmdsrsqpssyib53wbr6r8hf75789ndyyanv37sv99iyqcwz4i"))))
|
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "wai-websockets")))
|
2019-12-13 15:37:29 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-wai ghc-case-insensitive ghc-network ghc-websockets
|
|
|
|
ghc-http-types))
|
2019-12-13 15:37:29 +00:00
|
|
|
(arguments
|
|
|
|
`(#:configure-flags '("--flags=-example")))
|
|
|
|
(home-page "https://github.com/yesodweb/wai")
|
|
|
|
(synopsis
|
|
|
|
"Provide a bridge between WAI and the websockets package")
|
|
|
|
(description
|
|
|
|
"Use websockets with WAI applications, primarily those hosted via Warp.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(define-public ghc-xss-sanitize
|
|
|
|
(package
|
|
|
|
(name "ghc-xss-sanitize")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "0.3.7.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "xss-sanitize" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1lmmyh28mb1k44m63m7qx6iy4x2fgqq5srmky47dsm0fby9iag1h"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "xss-sanitize")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-attoparsec ghc-css-text ghc-network-uri ghc-tagsoup
|
|
|
|
ghc-utf8-string))
|
|
|
|
(native-inputs (list ghc-hunit ghc-hspec))
|
|
|
|
(home-page "https://github.com/yesodweb/haskell-xss-sanitize#readme")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(synopsis "Sanitize untrusted HTML to prevent XSS attacks")
|
2023-01-15 09:09:44 +00:00
|
|
|
(description
|
|
|
|
"This library provides @code{sanitizeXSS}. Run untrusted
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
HTML through @code{Text.HTML.SanitizeXSS.sanitizeXSS} to prevent XSS
|
|
|
|
attacks.")
|
2023-01-15 09:09:44 +00:00
|
|
|
(license license:bsd-2)))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
|
|
|
|
(define-public ghc-css-text
|
|
|
|
(package
|
|
|
|
(name "ghc-css-text")
|
2018-02-12 21:06:21 +00:00
|
|
|
(version "0.1.3.0")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "css-text" version))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2018-02-12 21:06:21 +00:00
|
|
|
"0ynd9f4hn2sfwqzbsa0y7phmxq8za7jiblpjwx0ry8b372zhgxaz"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "css-text")))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-attoparsec ghc-hspec ghc-quickcheck))
|
2020-07-16 16:24:09 +00:00
|
|
|
(home-page "https://www.yesodweb.com/")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(synopsis "CSS parser and renderer")
|
|
|
|
(description "This package provides a CSS parser and renderer for
|
|
|
|
Haskell.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
(define-public ghc-mime-types
|
|
|
|
(package
|
|
|
|
(name "ghc-mime-types")
|
2019-10-31 05:18:46 +00:00
|
|
|
(version "0.1.0.9")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "mime-types" version))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-10-31 05:18:46 +00:00
|
|
|
"1lkipa4v73z3l5lqs6sdhl898iq41kyxv2jb9agsajzgd58l6cha"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "mime-types")))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(home-page "https://github.com/yesodweb/wai")
|
|
|
|
(synopsis "Basic MIME type handling types and functions")
|
|
|
|
(description
|
|
|
|
"This library provides basic MIME type handling types and functions.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
(define-public ghc-html
|
|
|
|
(package
|
|
|
|
(name "ghc-html")
|
|
|
|
(version "1.0.1.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "html" version))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0q9hmfii62kc82ijlg238fxrzxhsivn42x5wd6ffcr9xldg4jd8c"))))
|
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "html")))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(home-page
|
|
|
|
"https://hackage.haskell.org/package/html")
|
|
|
|
(synopsis "HTML combinator library")
|
|
|
|
(description
|
|
|
|
"This package contains a combinator library for constructing HTML
|
|
|
|
documents.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
2020-01-08 09:35:37 +00:00
|
|
|
(define-public ghc-html-conduit
|
|
|
|
(package
|
|
|
|
(name "ghc-html-conduit")
|
2021-09-20 08:49:34 +00:00
|
|
|
(version "1.3.2.2")
|
2020-01-08 09:35:37 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "html-conduit" version))
|
2020-01-08 09:35:37 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-09-20 08:49:34 +00:00
|
|
|
"09bwrdam3y47kqllgg6w098ghqb8jb10dp4wxirsvx5ddpx9zpi6"))))
|
2020-01-08 09:35:37 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "html-conduit")))
|
2020-01-08 09:35:37 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-resourcet
|
|
|
|
ghc-conduit
|
|
|
|
ghc-xml-conduit
|
|
|
|
ghc-xml-types
|
|
|
|
ghc-attoparsec
|
|
|
|
ghc-conduit-extra))
|
2020-01-08 09:35:37 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-hspec ghc-hunit))
|
2020-01-08 09:35:37 +00:00
|
|
|
(home-page "https://github.com/snoyberg/xml")
|
|
|
|
(synopsis "Parse HTML documents using xml-conduit datatypes")
|
|
|
|
(description
|
|
|
|
"This package provides a parser for HTML documents that uses
|
|
|
|
tagstream-conduit. It automatically balances mismatched tags, so that
|
|
|
|
there shouldn't be any parse failures. It does not handle a full HTML
|
|
|
|
document rendering, such as adding missing html and head tags. Note that,
|
|
|
|
since version 1.3.1, it uses an inlined copy of tagstream-conduit with
|
|
|
|
entity decoding bugfixes applied.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(define-public ghc-blaze-html
|
|
|
|
(package
|
|
|
|
(name "ghc-blaze-html")
|
2019-10-31 14:20:22 +00:00
|
|
|
(version "0.9.1.2")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "blaze-html" version))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-10-31 14:20:22 +00:00
|
|
|
"0k1r1hddjgqighazcazxrx6xfhvy2gm8il8l82ainv3cai13yl30"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "blaze-html")))
|
2021-09-20 08:49:34 +00:00
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; TODO: Depends on quickcheck<2.14
|
|
|
|
#:cabal-revision
|
|
|
|
("1" "0wvlfb3rd9cm3p894p5rl9kggrsr5da3n8x9ydrbagx91yvkxns9")))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-blaze-builder ghc-blaze-markup))
|
2018-02-13 08:59:20 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-hunit ghc-quickcheck ghc-test-framework
|
|
|
|
ghc-test-framework-hunit ghc-test-framework-quickcheck2))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
(home-page "https://jaspervdj.be/blaze")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(synopsis "Fast HTML combinator library")
|
|
|
|
(description "This library provides HTML combinators for Haskell.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
(define-public ghc-aeson
|
|
|
|
(package
|
|
|
|
(name "ghc-aeson")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "2.0.3.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "aeson" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"09dk0j33n262dm75vff3y3i9fm6lh06dyqswwv7a6kvnhhmhlxhr"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "aeson")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-base-compat-batteries
|
|
|
|
ghc-time-compat
|
|
|
|
ghc-attoparsec
|
|
|
|
ghc-data-fix
|
|
|
|
ghc-dlist
|
|
|
|
ghc-hashable
|
|
|
|
ghc-indexed-traversable
|
|
|
|
ghc-onetuple
|
|
|
|
ghc-primitive
|
|
|
|
ghc-quickcheck
|
|
|
|
ghc-scientific
|
|
|
|
ghc-semialign
|
|
|
|
ghc-strict
|
|
|
|
ghc-tagged
|
|
|
|
ghc-text-short
|
|
|
|
ghc-th-abstraction
|
|
|
|
ghc-these
|
|
|
|
ghc-unordered-containers
|
|
|
|
ghc-uuid-types
|
|
|
|
ghc-vector
|
|
|
|
ghc-witherable))
|
|
|
|
(native-inputs (list ghc-base-compat
|
|
|
|
ghc-base-orphans
|
|
|
|
ghc-base16-bytestring
|
|
|
|
ghc-diff
|
|
|
|
ghc-generic-deriving
|
|
|
|
ghc-integer-logarithms
|
|
|
|
ghc-quickcheck-instances
|
|
|
|
ghc-tasty
|
|
|
|
ghc-tasty-golden
|
|
|
|
ghc-tasty-hunit
|
|
|
|
ghc-tasty-quickcheck))
|
2021-09-20 08:49:34 +00:00
|
|
|
(arguments
|
2023-01-15 09:09:44 +00:00
|
|
|
`(#:cabal-revision ("1"
|
|
|
|
"1zrgn63jzrpk3n3vd44zkzgw7kb5qxlvhx4nk6g3sswwrsz5j32i")))
|
|
|
|
(home-page "https://github.com/haskell/aeson")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(synopsis "Fast JSON parsing and encoding")
|
2023-01-15 09:09:44 +00:00
|
|
|
(description
|
|
|
|
"This package provides a JSON parsing and encoding library
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
for Haskell, optimized for ease of use and high performance. (A note on
|
|
|
|
naming: in Greek mythology, Aeson was the father of Jason.)")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
(define-public ghc-aeson-pretty
|
|
|
|
(package
|
|
|
|
(name "ghc-aeson-pretty")
|
2021-10-25 12:28:33 +00:00
|
|
|
(version "0.8.9")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "aeson-pretty" version))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-10-25 12:28:33 +00:00
|
|
|
"021az9az6xik9c9s3rnar5fr1lgy2h3igibf5ixnc7ps3m2lzg2x"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "aeson-pretty")))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-aeson
|
|
|
|
ghc-base-compat
|
|
|
|
ghc-scientific
|
|
|
|
ghc-vector
|
|
|
|
ghc-unordered-containers
|
|
|
|
ghc-attoparsec
|
|
|
|
ghc-cmdargs))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(home-page "https://github.com/informatikr/aeson-pretty")
|
|
|
|
(synopsis "JSON pretty-printing library and command-line tool")
|
|
|
|
(description
|
|
|
|
"This package provides a JSON pretty-printing library compatible with aeson
|
2019-05-23 00:06:02 +00:00
|
|
|
as well as a command-line tool to improve readability of streams of JSON data.
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
The library provides the function @code{encodePretty}. It is a drop-in
|
|
|
|
replacement for aeson's @code{encode} function, producing JSON-ByteStrings for
|
|
|
|
human readers. The command-line tool reads JSON from stdin and writes
|
|
|
|
prettified JSON to stdout. It also offers a complementary \"compact\"-mode,
|
|
|
|
essentially the opposite of pretty-printing.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
(define-public ghc-aeson-qq
|
|
|
|
(package
|
|
|
|
(name "ghc-aeson-qq")
|
2021-10-25 12:28:34 +00:00
|
|
|
(version "0.8.4")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "aeson-qq" version))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-10-25 12:28:34 +00:00
|
|
|
"0dpklq2xdhrkg1rdc7zfdjnzm6c3qxx2i1xskrqdxpqi84ffnlyh"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "aeson-qq")))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-base-compat
|
|
|
|
ghc-attoparsec
|
|
|
|
ghc-scientific
|
|
|
|
ghc-vector
|
|
|
|
ghc-aeson
|
|
|
|
ghc-haskell-src-meta))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-hspec hspec-discover))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(home-page "https://github.com/zalora/aeson-qq")
|
|
|
|
(synopsis "JSON quasiquoter for Haskell")
|
|
|
|
(description
|
|
|
|
"aeson-qq provides a JSON quasiquoter for Haskell. This package exposes
|
|
|
|
the function @code{aesonQQ} that compile-time converts a string representation
|
|
|
|
of a JSON value into a @code{Data.Aeson.Value}.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2019-12-13 15:45:59 +00:00
|
|
|
(define-public ghc-aeson-better-errors
|
|
|
|
(package
|
|
|
|
(name "ghc-aeson-better-errors")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "0.9.1.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "aeson-better-errors" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"05yibq9kqbjb8rh84n12sbax05amvd8jccpja0hyadz58pjy4jnk"))))
|
2019-12-13 15:45:59 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "aeson-better-errors")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-aeson
|
|
|
|
ghc-unordered-containers
|
|
|
|
ghc-dlist
|
|
|
|
ghc-scientific
|
|
|
|
ghc-vector
|
|
|
|
ghc-transformers-compat
|
|
|
|
ghc-void))
|
|
|
|
(arguments
|
|
|
|
`(#:cabal-revision ("1"
|
|
|
|
"0wzvrmhn5q2x1mcv43cyxhlck815ldkhx7c7gz5ijjyva1iicgn2")))
|
|
|
|
(home-page "https://github.com/hdgarrood/aeson-better-errors")
|
|
|
|
(synopsis "Better error messages when decoding JSON values in Haskell")
|
2019-12-13 15:45:59 +00:00
|
|
|
(description
|
|
|
|
"Gives you the tools to build parsers to decode JSON values, and gives
|
|
|
|
good error messages when parsing fails. See also
|
|
|
|
@url{http://harry.garrood.me/blog/aeson-better-errors/}.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(define-public ghc-multipart
|
|
|
|
(package
|
|
|
|
(name "ghc-multipart")
|
2021-09-20 08:49:34 +00:00
|
|
|
(version "0.2.1")
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "multipart" version))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-09-20 08:49:34 +00:00
|
|
|
"0p6n4knxpjv70nbl6cmd6x7gkdjsjqp4ya7fz00bfrqp7jvhlivn"))))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "multipart")))
|
2018-08-29 02:33:13 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-stringsearch))
|
2023-01-15 09:09:44 +00:00
|
|
|
(arguments
|
|
|
|
`(#:cabal-revision ("1"
|
|
|
|
"03gaapwnvn843hpm5qwdci9df1wf383msd42p8w9ghilpfjj4qy9")))
|
gnu: Move web packages from haskell to haskell-web.
* gnu/packages/haskell.scm (ghc-tagsoup, ghc-cookie, ghc-http-types, ghc-http,
ghc-http-client, ghc-http-client-tls, ghc-http-date, ghc-http2,
ghc-http-conduit, ghc-wai, ghc-wai-logger, ghc-wai-extra, ghc-wai-conduit,
ghc-warp, ghc-warp-tls, ghc-xss-sanitize, ghc-css-text, ghc-mime-types,
ghc-html, ghc-xhtml, ghc-blaze-html, ghc-aeson, ghc-aeson-pretty,
ghc-aeson-qq, ghc-multipart): Move variables to ...
* gnu/packages/haskell-web.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/haskell.scm,
gnu/packages/idris.scm,
gnu/packages/version-control.scm,
gnu/packages/wm.scm: Include haskell-web module.
2017-11-13 17:09:36 +00:00
|
|
|
(home-page
|
|
|
|
"http://www.github.com/silkapp/multipart")
|
|
|
|
(synopsis
|
|
|
|
"HTTP multipart library")
|
|
|
|
(description
|
|
|
|
"HTTP multipart split out of the cgi package, for Haskell.")
|
|
|
|
(license license:bsd-3)))
|
2018-02-21 00:53:26 +00:00
|
|
|
|
|
|
|
(define-public ghc-uri-encode
|
|
|
|
(package
|
|
|
|
(name "ghc-uri-encode")
|
2021-09-20 08:49:34 +00:00
|
|
|
(version "1.5.0.7")
|
2018-02-21 00:53:26 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "uri-encode" version))
|
2018-02-21 00:53:26 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-09-20 08:49:34 +00:00
|
|
|
"0lj2h701af12539p957rw24bxr07mfqd5r4h52i42f43ax165767"))))
|
2018-02-21 00:53:26 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "uri-encode")))
|
2018-02-21 00:53:26 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-utf8-string ghc-network-uri))
|
2023-01-15 09:09:44 +00:00
|
|
|
(arguments
|
|
|
|
`(#:cabal-revision ("2"
|
|
|
|
"03pmvbi56gmg1z2wr3glncc7dbyh666bqp565inh31qzsp9zwmgj")))
|
2018-02-21 00:53:26 +00:00
|
|
|
(home-page "https://hackage.haskell.org/package/uri-encode")
|
|
|
|
(synopsis "Unicode aware uri-encoding")
|
|
|
|
(description "Unicode aware uri-encoding for Haskell.")
|
|
|
|
(license license:bsd-3)))
|
2018-03-21 03:44:44 +00:00
|
|
|
|
|
|
|
(define-public ghc-path-pieces
|
|
|
|
(package
|
|
|
|
(name "ghc-path-pieces")
|
|
|
|
(version "0.2.1")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "path-pieces" version))
|
2018-03-21 03:44:44 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0vx3sivcsld76058925hym2j6hm3g71f0qjr7v59f1g2afgx82q8"))))
|
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "path-pieces")))
|
2021-12-13 16:18:24 +00:00
|
|
|
(native-inputs (list ghc-hunit ghc-hspec ghc-quickcheck))
|
2018-03-21 03:44:44 +00:00
|
|
|
(home-page "https://github.com/yesodweb/path-pieces")
|
|
|
|
(synopsis "Used in Yesod to automatically marshall data in the request path")
|
|
|
|
(description "This Haskell package provides two typeclasses for converting
|
|
|
|
Haskell data types to and from route pieces.")
|
|
|
|
(license license:bsd-3)))
|
2018-03-21 03:44:45 +00:00
|
|
|
|
|
|
|
(define-public ghc-skein
|
|
|
|
(package
|
|
|
|
(name "ghc-skein")
|
|
|
|
(version "1.0.9.4")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "skein" version))
|
2018-03-21 03:44:45 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1jdqdk0rz2wnvw735clnj8jh0a9rkrbqjg7vk3w6wczdql6cm0pq"))))
|
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "skein")))
|
2021-12-13 21:15:07 +00:00
|
|
|
(inputs (list ghc-cereal ghc-tagged ghc-crypto-api))
|
2021-12-13 16:18:24 +00:00
|
|
|
(native-inputs (list ghc-hspec))
|
2018-03-21 03:44:45 +00:00
|
|
|
(home-page "https://github.com/yesodweb/path-pieces")
|
|
|
|
(synopsis "Skein family of cryptographic hash functions for Haskell")
|
|
|
|
(description "@uref{(http://www.skein-hash.info, Skein} is a family of
|
|
|
|
fast secure cryptographic hash functions designed by Niels Ferguson, Stefan
|
|
|
|
Lucks, Bruce Schneier, Doug Whiting, Mihir Bellare, Tadayoshi Kohno, Jon
|
|
|
|
Callas and Jesse Walker.
|
|
|
|
|
|
|
|
This Haskell package uses bindings to the optimized C implementation of Skein.")
|
|
|
|
(license license:bsd-3)))
|
2018-03-21 03:44:52 +00:00
|
|
|
|
|
|
|
(define-public ghc-clientsession
|
|
|
|
(package
|
|
|
|
(name "ghc-clientsession")
|
|
|
|
(version "0.9.1.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "clientsession" version))
|
2018-03-21 03:44:52 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0s6h4ykj16mpf7nlw2iqn2ji0p8g1fn5ni0s7yqaili6vv2as5ar"))))
|
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "clientsession")))
|
2021-12-13 16:18:24 +00:00
|
|
|
(inputs (list ghc-cereal
|
|
|
|
ghc-tagged
|
|
|
|
ghc-crypto-api
|
|
|
|
ghc-skein
|
|
|
|
ghc-base64-bytestring
|
|
|
|
ghc-entropy
|
|
|
|
ghc-cprng-aes
|
|
|
|
ghc-cipher-aes
|
|
|
|
ghc-crypto-random
|
|
|
|
ghc-setenv))
|
|
|
|
(native-inputs (list ghc-hunit ghc-hspec ghc-quickcheck))
|
2018-03-21 03:44:52 +00:00
|
|
|
(home-page "https://github.com/yesodweb/clientsession/tree/master")
|
|
|
|
(synopsis "Haskell library for securely store session data in a
|
|
|
|
client-side cookie")
|
|
|
|
(description "This Haskell package achieves security through AES-CTR
|
|
|
|
encryption and Skein-MAC-512-256 authentication. Uses Base64 encoding to
|
|
|
|
avoid any issues with characters.")
|
|
|
|
(license license:expat)))
|
2018-03-21 03:44:53 +00:00
|
|
|
|
|
|
|
(define-public ghc-yesod-core
|
|
|
|
(package
|
|
|
|
(name "ghc-yesod-core")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "1.6.24.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "yesod-core" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"19ilgm73108ki1hvqc86kir0yrx36vp9g45na6g8dmfsvk9izr10"))))
|
2018-03-21 03:44:53 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "yesod-core")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-aeson
|
|
|
|
ghc-auto-update
|
|
|
|
ghc-blaze-html
|
|
|
|
ghc-blaze-markup
|
|
|
|
ghc-case-insensitive
|
|
|
|
ghc-cereal
|
2021-12-13 16:18:24 +00:00
|
|
|
ghc-clientsession
|
2023-01-15 09:09:44 +00:00
|
|
|
ghc-conduit
|
|
|
|
ghc-conduit-extra
|
|
|
|
ghc-cookie
|
|
|
|
ghc-entropy
|
|
|
|
ghc-fast-logger
|
|
|
|
ghc-http-types
|
|
|
|
ghc-memory
|
|
|
|
ghc-monad-logger
|
|
|
|
ghc-path-pieces
|
|
|
|
ghc-primitive
|
2021-12-13 16:18:24 +00:00
|
|
|
ghc-random
|
2023-01-15 09:09:44 +00:00
|
|
|
ghc-resourcet
|
|
|
|
ghc-shakespeare
|
|
|
|
ghc-unix-compat
|
2021-12-13 16:18:24 +00:00
|
|
|
ghc-unliftio
|
|
|
|
ghc-unordered-containers
|
|
|
|
ghc-vector
|
2023-01-15 09:09:44 +00:00
|
|
|
ghc-wai
|
|
|
|
ghc-wai-extra
|
2021-12-13 16:18:24 +00:00
|
|
|
ghc-wai-logger
|
|
|
|
ghc-warp
|
2023-01-15 09:09:44 +00:00
|
|
|
ghc-word8))
|
2021-12-13 16:18:24 +00:00
|
|
|
(native-inputs (list ghc-hspec
|
|
|
|
ghc-hunit
|
2023-01-15 09:09:44 +00:00
|
|
|
ghc-async
|
|
|
|
ghc-hspec
|
2021-12-13 16:18:24 +00:00
|
|
|
ghc-hspec-expectations
|
|
|
|
ghc-network
|
2023-01-15 09:09:44 +00:00
|
|
|
ghc-streaming-commons))
|
|
|
|
(arguments
|
|
|
|
`(#:cabal-revision ("1"
|
|
|
|
"1406s7is60ji6nn3h1mafkdh7729ipq3i06cqsq77hz2ilj264jl")))
|
|
|
|
(home-page "http://www.yesodweb.com/")
|
2018-03-21 03:44:53 +00:00
|
|
|
(synopsis "Core package for the Yesod web framework")
|
2023-01-15 09:09:44 +00:00
|
|
|
(description
|
|
|
|
"This Haskell package provides all core functionality, for
|
2018-03-21 03:44:53 +00:00
|
|
|
Yesod, on which other packages can be built. It provides dispatch, handler
|
|
|
|
functions, widgets, etc.")
|
|
|
|
(license license:expat)))
|
2018-03-21 03:45:11 +00:00
|
|
|
|
|
|
|
(define-public ghc-yesod-persistent
|
|
|
|
(package
|
|
|
|
(name "ghc-yesod-persistent")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "1.6.0.8")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "yesod-persistent" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"02vm0qm0yxqn6x61iir81wf6ibwnf8gkia8lw71fgpxgav154ig6"))))
|
2018-03-21 03:45:11 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "yesod-persistent")))
|
2021-12-13 16:18:24 +00:00
|
|
|
(inputs (list ghc-yesod-core
|
|
|
|
ghc-persistent
|
|
|
|
ghc-persistent-template
|
|
|
|
ghc-blaze-builder
|
|
|
|
ghc-conduit
|
|
|
|
ghc-resourcet
|
|
|
|
ghc-resource-pool))
|
2023-01-15 09:09:44 +00:00
|
|
|
(native-inputs (list ghc-hspec ghc-wai-extra ghc-persistent-sqlite
|
|
|
|
hspec-discover))
|
|
|
|
(home-page "http://www.yesodweb.com/")
|
2018-03-21 03:45:11 +00:00
|
|
|
(synopsis "Helpers for using Persistent from Yesod")
|
|
|
|
(description "This Haskell package provides helpers for using Persistent
|
|
|
|
from Yesod.")
|
|
|
|
(license license:expat)))
|
2018-03-21 03:45:13 +00:00
|
|
|
|
|
|
|
(define-public ghc-yesod-form
|
|
|
|
(package
|
2023-01-15 09:09:44 +00:00
|
|
|
(name "ghc-yesod-form")
|
|
|
|
(version "1.7.3")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "yesod-form" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"10y3mfh96sicqyzngvl7f4wrjgkvl3znqnh71s8gx1vf7158sjww"))))
|
|
|
|
(build-system haskell-build-system)
|
|
|
|
(properties '((upstream-name . "yesod-form")))
|
|
|
|
(inputs (list ghc-aeson
|
|
|
|
ghc-attoparsec
|
|
|
|
ghc-blaze-builder
|
|
|
|
ghc-blaze-html
|
|
|
|
ghc-blaze-markup
|
|
|
|
ghc-byteable
|
|
|
|
ghc-data-default
|
|
|
|
ghc-email-validate
|
|
|
|
ghc-persistent
|
|
|
|
ghc-resourcet
|
|
|
|
ghc-shakespeare
|
|
|
|
ghc-wai
|
|
|
|
ghc-xss-sanitize
|
|
|
|
ghc-yesod-core
|
|
|
|
ghc-yesod-persistent
|
|
|
|
ghc-network-uri))
|
|
|
|
(native-inputs (list ghc-hspec))
|
|
|
|
(home-page "http://www.yesodweb.com/")
|
|
|
|
(synopsis "Form handling support for Yesod Web Framework")
|
|
|
|
(description
|
|
|
|
"This Haskell package provides a set of basic form inputs such
|
2018-03-21 03:45:13 +00:00
|
|
|
as text, number, time, checkbox, select, textarea, etc through the
|
|
|
|
@code{Yesod.Form.Fields} module. Also, there is @code{Yesod.Form.Nic} module
|
2021-12-30 06:28:29 +00:00
|
|
|
providing richtext field using Nic editor.")
|
2023-01-15 09:09:44 +00:00
|
|
|
(license license:expat)))
|
2018-03-21 03:45:15 +00:00
|
|
|
|
|
|
|
(define-public ghc-yesod
|
|
|
|
(package
|
|
|
|
(name "ghc-yesod")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "1.6.2.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "yesod" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1qglaxqx96c7wi4817ff67c9g2fxlnjzdpgic458i80khpdlmb5c"))))
|
2018-03-21 03:45:15 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "yesod")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-aeson
|
|
|
|
ghc-conduit
|
|
|
|
ghc-data-default-class
|
|
|
|
ghc-fast-logger
|
|
|
|
ghc-file-embed
|
|
|
|
ghc-monad-logger
|
|
|
|
ghc-shakespeare
|
|
|
|
ghc-streaming-commons
|
|
|
|
ghc-unordered-containers
|
|
|
|
ghc-wai
|
|
|
|
ghc-wai-extra
|
|
|
|
ghc-wai-logger
|
|
|
|
ghc-warp
|
|
|
|
ghc-yaml
|
|
|
|
ghc-yesod-core
|
|
|
|
ghc-yesod-form
|
|
|
|
ghc-yesod-persistent))
|
|
|
|
(home-page "http://www.yesodweb.com/")
|
2018-03-21 03:45:15 +00:00
|
|
|
(synopsis "Framework for creating type-safe, RESTful web applications")
|
2023-01-15 09:09:44 +00:00
|
|
|
(description
|
|
|
|
"The Haskell package package groups together the various
|
2018-03-21 03:45:15 +00:00
|
|
|
Yesod related packages into one cohesive whole. This is the version of Yesod,
|
|
|
|
whereas most of the core code lives in @code{ghc-yesod-core}.")
|
|
|
|
(license license:expat)))
|
2019-04-04 12:35:15 +00:00
|
|
|
|
|
|
|
(define-public ghc-hxt-charproperties
|
|
|
|
(package
|
|
|
|
(name "ghc-hxt-charproperties")
|
2021-09-20 08:49:34 +00:00
|
|
|
(version "9.5.0.0")
|
2019-04-04 12:35:15 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "hxt-charproperties" version))
|
2019-04-04 12:35:15 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-09-20 08:49:34 +00:00
|
|
|
"0jm98jddbsd60jc2bz8wa71rslagbaqf00ia7fvfsaiaa54nk0r8"))))
|
2019-04-04 12:35:15 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "hxt-charproperties")))
|
2019-04-04 12:35:15 +00:00
|
|
|
(home-page "https://github.com/UweSchmidt/hxt")
|
|
|
|
(synopsis "Character properties and classes for XML and Unicode")
|
|
|
|
(description
|
|
|
|
"The modules provided by this package contain predicates for Unicode
|
|
|
|
blocks and char properties and character predicates defined by XML. The
|
|
|
|
supported Unicode version is 7.0.0")
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
(define-public ghc-hxt-unicode
|
|
|
|
(package
|
|
|
|
(name "ghc-hxt-unicode")
|
|
|
|
(version "9.0.2.4")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "hxt-unicode" version))
|
2019-04-04 12:35:15 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0rj48cy8z4fl3zpg5bpa458kqr83adav6jnqv4i71dclpprj6n3v"))))
|
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "hxt-unicode")))
|
2019-04-04 12:35:15 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-hxt-charproperties))
|
2019-04-04 12:35:15 +00:00
|
|
|
(home-page
|
|
|
|
"http://www.fh-wedel.de/~si/HXmlToolbox/index.html https://github.com/UweSchmidt/hxt")
|
|
|
|
(synopsis
|
|
|
|
"Unicode en-/decoding functions for utf8, iso-latin-* and other encodings")
|
|
|
|
(description
|
|
|
|
"This package provides Unicode encoding and decoding functions for
|
|
|
|
encodings used in the Haskell XML Toolbox. ISO Latin 1-16, utf8, utf16, ASCII
|
|
|
|
are supported. Decoding is done with lazy functions, errors may be detected or
|
|
|
|
ignored.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
(define-public ghc-hxt-regex-xmlschema
|
|
|
|
(package
|
|
|
|
(name "ghc-hxt-regex-xmlschema")
|
2021-09-20 08:49:34 +00:00
|
|
|
(version "9.2.0.7")
|
2019-04-04 12:35:15 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "hxt-regex-xmlschema" version))
|
2019-04-04 12:35:15 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-09-20 08:49:34 +00:00
|
|
|
"0ynrf65m7abq2fjnarlwq6i1r99pl89npibxx05rlplcgpybrdmr"))))
|
2019-04-04 12:35:15 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "hxt-regex-xmlschema")))
|
2019-04-04 12:35:15 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-hxt-charproperties ghc-hunit))
|
2020-07-16 16:12:34 +00:00
|
|
|
(home-page "https://wiki.haskell.org/Regular_expressions_for_XML_Schema")
|
2019-04-04 12:35:15 +00:00
|
|
|
(synopsis "Regular expression library for W3C XML Schema regular expressions")
|
|
|
|
(description
|
|
|
|
"This library supports full W3C XML Schema regular expressions inclusive
|
|
|
|
all Unicode character sets and blocks. It is implemented by the technique of
|
|
|
|
derivations of regular expressions.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
(define-public ghc-hxt
|
|
|
|
(package
|
|
|
|
(name "ghc-hxt")
|
2021-09-20 08:49:34 +00:00
|
|
|
(version "9.3.1.22")
|
2019-04-04 12:35:15 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "hxt" version))
|
2019-04-04 12:35:15 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-09-20 08:49:34 +00:00
|
|
|
"1n9snbdl46x23ka7bbsls1vsn0plpmfmbpbl0msjfm92fkk2yq7g"))))
|
2019-04-04 12:35:15 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "hxt")))
|
2020-06-26 13:25:07 +00:00
|
|
|
(outputs '("out" "static" "doc"))
|
2019-04-04 12:35:15 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-hxt-charproperties ghc-hxt-unicode ghc-hxt-regex-xmlschema
|
|
|
|
ghc-network-uri))
|
2019-04-04 12:35:15 +00:00
|
|
|
(home-page "https://github.com/UweSchmidt/hxt")
|
|
|
|
(synopsis "Collection of tools for processing XML with Haskell")
|
|
|
|
(description
|
|
|
|
"The Haskell XML Toolbox bases on the ideas of HaXml and HXML, but
|
|
|
|
introduces a more general approach for processing XML with Haskell.")
|
|
|
|
(license license:expat)))
|
2019-07-15 08:32:31 +00:00
|
|
|
|
2022-09-13 15:35:20 +00:00
|
|
|
(define-public ghc-hxt-xpath
|
|
|
|
(package
|
|
|
|
(name "ghc-hxt-xpath")
|
|
|
|
(version "9.1.2.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "hxt-xpath" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0wlq9s01icalnvjkkilx5zaqp3ff4v5limj1xy8i18qpzjspqdsh"))))
|
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "hxt-xpath")))
|
2022-09-13 15:35:20 +00:00
|
|
|
(inputs (list ghc-hxt))
|
|
|
|
(home-page "https://github.com/UweSchmidt/hxt")
|
2022-11-01 00:08:32 +00:00
|
|
|
(synopsis "The XPath modules for HXT")
|
2022-09-13 15:35:20 +00:00
|
|
|
(description
|
|
|
|
"This extension for the Haskell XML Toolbox defines data types to
|
|
|
|
represent XPath, navigation trees and primitives to select and edit subtrees
|
|
|
|
from them. Some primitives have both a functional and an arrow interface.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2019-07-15 08:32:31 +00:00
|
|
|
(define-public ghc-http-common
|
|
|
|
(package
|
|
|
|
(name "ghc-http-common")
|
2021-09-20 08:49:34 +00:00
|
|
|
(version "0.8.3.4")
|
2019-07-15 08:32:31 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "http-common" version))
|
2019-07-15 08:32:31 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-09-20 08:49:34 +00:00
|
|
|
"1xpbnfac0fqa5r670ggwm4kq3cmz9jpaw9bx40j9w9qiw6xi4i28"))))
|
2019-07-15 08:32:31 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "http-common")))
|
2019-07-15 08:32:31 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-base64-bytestring
|
|
|
|
ghc-blaze-builder
|
|
|
|
ghc-case-insensitive
|
|
|
|
ghc-network
|
|
|
|
ghc-random
|
|
|
|
ghc-unordered-containers))
|
2019-07-15 08:32:31 +00:00
|
|
|
(home-page "https://github.com/afcowie/http-streams/")
|
|
|
|
(synopsis "Common types for HTTP clients and servers")
|
|
|
|
(description "Base types used by a variety of HTTP clients and
|
|
|
|
servers. See http-streams @code{Network.Http.Client} or pipes-http
|
|
|
|
@code{Pipes.Http.Client} for full documentation. You can import
|
|
|
|
@code{Network.Http.Types} if you like, but both http-streams and
|
|
|
|
pipes-http re-export this package's types and functions.")
|
|
|
|
(license license:bsd-3)))
|
2019-07-15 08:30:26 +00:00
|
|
|
|
|
|
|
(define-public ghc-http-streams
|
|
|
|
(package
|
|
|
|
(name "ghc-http-streams")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "0.8.9.6")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "http-streams" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1h8nnp1y4ngv6mwr3fxv428kcvrd3ming179sza8fkn49pcwdlxs"))))
|
2019-07-15 08:30:26 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "http-streams")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-attoparsec
|
|
|
|
ghc-base64-bytestring
|
|
|
|
ghc-blaze-builder
|
|
|
|
ghc-case-insensitive
|
|
|
|
ghc-io-streams
|
|
|
|
ghc-hsopenssl
|
|
|
|
ghc-openssl-streams
|
|
|
|
ghc-unordered-containers
|
|
|
|
ghc-aeson
|
|
|
|
ghc-http-common
|
|
|
|
ghc-network-uri
|
|
|
|
ghc-network))
|
|
|
|
(native-inputs (list ghc-hunit
|
|
|
|
ghc-lifted-base
|
|
|
|
ghc-aeson-pretty
|
|
|
|
ghc-hspec
|
|
|
|
ghc-hspec-expectations
|
|
|
|
ghc-random
|
|
|
|
ghc-snap-core
|
|
|
|
ghc-snap-server))
|
|
|
|
(home-page "https://github.com/aesiniath/http-streams/")
|
2019-07-15 08:30:26 +00:00
|
|
|
(synopsis "HTTP client using io-streams")
|
2023-01-15 09:09:44 +00:00
|
|
|
(description
|
|
|
|
"An HTTP client using the Snap Framework's io-streams
|
2019-07-15 08:30:26 +00:00
|
|
|
library to handle the streaming IO. The API is optimized for ease of
|
|
|
|
use for the rather common case of code needing to query web services and
|
|
|
|
deal with the result.")
|
|
|
|
(license license:bsd-3)))
|
2019-07-15 08:19:49 +00:00
|
|
|
|
2023-01-15 09:09:44 +00:00
|
|
|
;; Breaks cycle between ghc-http-streams and ghc-snap-server
|
|
|
|
(define-public ghc-http-streams-bootstrap
|
|
|
|
(package
|
|
|
|
(inherit ghc-http-streams)
|
|
|
|
(name "ghc-http-streams-bootstrap")
|
|
|
|
(arguments `(#:tests? #f))
|
|
|
|
(native-inputs '())
|
|
|
|
(properties '((hidden? #t)))))
|
|
|
|
|
2019-07-15 08:19:49 +00:00
|
|
|
(define-public ghc-snap-core
|
|
|
|
(package
|
|
|
|
(name "ghc-snap-core")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "1.0.5.0")
|
2019-07-15 08:19:49 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "snap-core" version))
|
2019-07-15 08:19:49 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-01-15 09:09:44 +00:00
|
|
|
"0hf671g7h4nikfvi05q3mmcxhfcsh874dkansssn0mc68k9fsak4"))))
|
2019-07-15 08:19:49 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "snap-core")))
|
2021-09-20 08:49:34 +00:00
|
|
|
(arguments
|
2023-01-15 09:09:44 +00:00
|
|
|
`(#:cabal-revision
|
|
|
|
("3" "02r6plphl4vqig3xap9amdib0qjd98nqpn5jhy6hsbiwh3p7cy9b")))
|
2019-07-15 08:19:49 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-old-locale
|
|
|
|
ghc-hunit
|
|
|
|
ghc-attoparsec
|
|
|
|
ghc-bytestring-builder
|
|
|
|
ghc-case-insensitive
|
|
|
|
ghc-lifted-base
|
|
|
|
ghc-io-streams
|
|
|
|
ghc-hashable
|
|
|
|
ghc-monad-control
|
|
|
|
ghc-random
|
|
|
|
ghc-readable
|
|
|
|
ghc-regex-posix
|
|
|
|
ghc-transformers-base
|
|
|
|
ghc-unix-compat
|
|
|
|
ghc-unordered-containers
|
|
|
|
ghc-vector
|
|
|
|
ghc-network-uri
|
|
|
|
ghc-network))
|
2019-07-15 08:19:49 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-quickcheck
|
|
|
|
ghc-parallel
|
|
|
|
ghc-test-framework
|
|
|
|
ghc-test-framework-hunit
|
|
|
|
ghc-test-framework-quickcheck2
|
|
|
|
ghc-zlib))
|
2019-07-15 08:19:49 +00:00
|
|
|
(home-page "http://snapframework.com/")
|
|
|
|
(synopsis "Haskell Web Framework (core interfaces and types)")
|
|
|
|
(description "Snap is a simple and fast web development framework
|
|
|
|
and server written in Haskell. For more information, you can visit the
|
|
|
|
Snap project website at @uref{http://snapframework.com/}. This library
|
|
|
|
contains the core definitions and types for the Snap framework.")
|
|
|
|
(license license:bsd-3)))
|
2019-07-15 08:25:43 +00:00
|
|
|
|
|
|
|
(define-public ghc-snap-server
|
|
|
|
(package
|
|
|
|
(name "ghc-snap-server")
|
2021-09-20 08:49:34 +00:00
|
|
|
(version "1.1.2.0")
|
2019-07-15 08:25:43 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "snap-server" version))
|
2019-07-15 08:25:43 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-09-20 08:49:34 +00:00
|
|
|
"0w4yv9a5ilpma0335ariwap2iscmdbaaif88lq3cm7px910nyc4j"))))
|
2019-07-15 08:25:43 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "snap-server")))
|
2019-07-15 08:25:43 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-attoparsec
|
|
|
|
ghc-blaze-builder
|
|
|
|
ghc-bytestring-builder
|
|
|
|
ghc-case-insensitive
|
|
|
|
ghc-clock
|
|
|
|
ghc-io-streams
|
|
|
|
ghc-io-streams-haproxy
|
|
|
|
ghc-lifted-base
|
|
|
|
ghc-network
|
|
|
|
ghc-old-locale
|
|
|
|
ghc-snap-core
|
|
|
|
ghc-unix-compat
|
|
|
|
ghc-vector))
|
2019-07-15 08:25:43 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-base16-bytestring
|
|
|
|
ghc-monad-control
|
|
|
|
ghc-random
|
|
|
|
ghc-threads
|
|
|
|
ghc-hunit
|
|
|
|
ghc-quickcheck
|
2023-01-15 09:09:44 +00:00
|
|
|
ghc-http-streams-bootstrap
|
2021-12-13 16:18:24 +00:00
|
|
|
ghc-http-common
|
|
|
|
ghc-parallel
|
|
|
|
ghc-test-framework
|
|
|
|
ghc-test-framework-hunit
|
|
|
|
ghc-test-framework-quickcheck2))
|
2023-01-15 09:09:44 +00:00
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'configure 'update-constraints
|
|
|
|
(lambda _
|
|
|
|
(substitute* "snap-server.cabal"
|
|
|
|
(("\\b(attoparsec|base|bytestring|time)\\s+[^,]+" all dep)
|
|
|
|
dep)))))))
|
2019-07-15 08:25:43 +00:00
|
|
|
(home-page "http://snapframework.com/")
|
|
|
|
(synopsis "Web server for the Snap Framework")
|
|
|
|
(description "Snap is a simple and fast web development framework
|
|
|
|
and server written in Haskell. For more information, you can visit the
|
|
|
|
Snap project website at @uref{http://snapframework.com/}. The Snap HTTP
|
|
|
|
server is a high performance web server library written in Haskell.
|
|
|
|
Together with the snap-core library upon which it depends, it provides a
|
|
|
|
clean and efficient Haskell programming interface to the HTTP
|
|
|
|
protocol.")
|
|
|
|
(license license:bsd-3)))
|
2019-07-08 01:00:52 +00:00
|
|
|
|
|
|
|
(define-public ghc-js-jquery
|
|
|
|
(package
|
|
|
|
(name "ghc-js-jquery")
|
|
|
|
(version "3.3.1")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
2023-01-05 07:59:52 +00:00
|
|
|
(hackage-uri "js-jquery" version))
|
2019-07-08 01:00:52 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"16q68jzbs7kp07dnq8cprdcc8fd41rim38039vg0w4x11lgniq70"))))
|
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "js-jquery")))
|
2019-07-08 01:00:52 +00:00
|
|
|
(arguments `(#:tests? #f)) ; tests do network IO
|
|
|
|
(home-page "https://github.com/ndmitchell/js-jquery")
|
|
|
|
(synopsis "Obtain minified jQuery code")
|
|
|
|
(description "This package bundles the minified
|
|
|
|
@url{http://jquery.com/, jQuery} code into a Haskell package, so it can
|
|
|
|
be depended upon by Cabal packages. The first three components of the
|
|
|
|
version number match the upstream jQuery version. The package is
|
|
|
|
designed to meet the redistribution requirements of downstream
|
|
|
|
users (e.g. Debian).")
|
|
|
|
(license license:expat)))
|
2019-07-08 01:01:54 +00:00
|
|
|
|
|
|
|
(define-public ghc-js-flot
|
|
|
|
(package
|
|
|
|
(name "ghc-js-flot")
|
|
|
|
(version "0.8.3")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
2023-01-05 07:59:52 +00:00
|
|
|
(hackage-uri "js-flot" version))
|
2019-07-08 01:01:54 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0yjyzqh3qzhy5h3nql1fckw0gcfb0f4wj9pm85nafpfqp2kg58hv"))))
|
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "js-flot")))
|
2019-07-08 01:01:54 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-http))
|
2019-07-08 01:01:54 +00:00
|
|
|
(home-page "https://github.com/ndmitchell/js-flot")
|
|
|
|
(synopsis "Obtain minified flot code")
|
|
|
|
(description "This package bundles the minified
|
|
|
|
@url{http://www.flotcharts.org/, Flot} code (a jQuery plotting library)
|
|
|
|
into a Haskell package, so it can be depended upon by Cabal packages.
|
|
|
|
The first three components of the version number match the upstream flot
|
|
|
|
version. The package is designed to meet the redistribution
|
|
|
|
requirements of downstream users (e.g. Debian).")
|
|
|
|
(license license:expat)))
|
2019-12-04 07:29:38 +00:00
|
|
|
|
|
|
|
(define-public ghc-happstack-server
|
|
|
|
(package
|
|
|
|
(name "ghc-happstack-server")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "7.7.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "happstack-server" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"175aal1l4g558y89skck3s04db0bjblkxp77bijf1s9iyc07n669"))))
|
2019-12-04 07:29:38 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "happstack-server")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-network
|
|
|
|
ghc-network-uri
|
|
|
|
ghc-base64-bytestring
|
|
|
|
ghc-blaze-html
|
|
|
|
ghc-extensible-exceptions
|
|
|
|
ghc-hslogger
|
|
|
|
ghc-html
|
|
|
|
ghc-monad-control
|
|
|
|
ghc-old-locale
|
|
|
|
ghc-semigroups
|
|
|
|
ghc-sendfile
|
|
|
|
ghc-system-filepath
|
|
|
|
ghc-syb
|
|
|
|
ghc-threads
|
|
|
|
ghc-transformers-base
|
|
|
|
ghc-transformers-compat
|
|
|
|
ghc-utf8-string
|
|
|
|
ghc-zlib))
|
2021-12-13 16:18:24 +00:00
|
|
|
(native-inputs (list ghc-hunit))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
(home-page "https://happstack.com")
|
2019-12-04 07:29:38 +00:00
|
|
|
(synopsis "Web related tools and services for Haskell")
|
|
|
|
(description
|
|
|
|
"Happstack Server provides an HTTP server and a rich set of functions for
|
|
|
|
routing requests, handling query parameters, generating responses, working with
|
|
|
|
cookies, serving files, and more.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
2019-12-04 07:29:20 +00:00
|
|
|
(define-public ghc-sendfile
|
|
|
|
(package
|
|
|
|
(name "ghc-sendfile")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "0.7.11.4")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "sendfile" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1i2i0w18l2ysambyylv93jzy0adiiqwwnhg7zagqb7p2srybxc3k"))))
|
2019-12-04 07:29:20 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "sendfile")))
|
2021-12-13 16:18:24 +00:00
|
|
|
(inputs (list ghc-network))
|
2023-01-15 09:09:44 +00:00
|
|
|
(home-page "https://github.com/Happstack/sendfile")
|
2019-12-04 07:29:20 +00:00
|
|
|
(synopsis "Portable sendfile library for Haskell")
|
|
|
|
(description
|
|
|
|
"Haskell library which exposes zero-copy sendfile functionality in a portable way.")
|
|
|
|
(license license:bsd-3)))
|
2020-01-04 08:42:46 +00:00
|
|
|
|
|
|
|
(define-public ghc-scalpel-core
|
|
|
|
(package
|
|
|
|
(name "ghc-scalpel-core")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "0.6.2.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "scalpel-core" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1yl1lsi5xm3qdlww2sb6vyppjiisj54f4yzvffv3qg8dgkfjfdra"))))
|
2020-01-04 08:42:46 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "scalpel-core")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-data-default
|
|
|
|
ghc-fail
|
|
|
|
ghc-pointedlist
|
|
|
|
ghc-regex-base
|
|
|
|
ghc-regex-tdfa
|
|
|
|
ghc-tagsoup
|
|
|
|
ghc-vector))
|
2021-12-13 16:18:24 +00:00
|
|
|
(native-inputs (list ghc-hunit))
|
2020-01-04 08:42:46 +00:00
|
|
|
(home-page "https://github.com/fimad/scalpel")
|
2023-01-15 09:09:44 +00:00
|
|
|
(synopsis "High level web scraping library for Haskell")
|
2020-01-04 08:42:46 +00:00
|
|
|
(description
|
|
|
|
"Scalpel core provides a subset of the scalpel web scraping library
|
|
|
|
that is intended to have lightweight dependencies and to be free of all
|
|
|
|
non-Haskell dependencies.")
|
|
|
|
(license license:asl2.0)))
|
2020-01-04 08:34:23 +00:00
|
|
|
|
|
|
|
(define-public ghc-scalpel
|
|
|
|
(package
|
|
|
|
(name "ghc-scalpel")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "0.6.2.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "scalpel" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0w3l38czfsgbyd3x6yir7qw9bl8nmhclrbpbwfyhs39728jlscnc"))))
|
2020-01-04 08:34:23 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "scalpel")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-scalpel-core
|
|
|
|
ghc-case-insensitive
|
|
|
|
ghc-data-default
|
|
|
|
ghc-http-client
|
|
|
|
ghc-http-client-tls
|
|
|
|
ghc-tagsoup))
|
2020-01-04 08:34:23 +00:00
|
|
|
(home-page "https://github.com/fimad/scalpel")
|
2023-01-15 09:09:44 +00:00
|
|
|
(synopsis "High level web scraping library for Haskell")
|
2020-01-04 08:34:23 +00:00
|
|
|
(description
|
|
|
|
"Scalpel is a web scraping library inspired by libraries like Parsec
|
2020-03-29 19:36:26 +00:00
|
|
|
and Perl's @code{Web::Scraper}. Scalpel builds on top of TagSoup to provide a
|
2020-01-04 08:34:23 +00:00
|
|
|
declarative and monadic interface.")
|
|
|
|
(license license:asl2.0)))
|
2019-12-13 15:39:09 +00:00
|
|
|
|
|
|
|
(define-public ghc-sourcemap
|
|
|
|
(package
|
|
|
|
(name "ghc-sourcemap")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "0.1.7")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "sourcemap" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"09i340mhzlfi5ayy9cb0378glnygdmpdhhsgikm3zrvwf2wmwr2h"))))
|
2019-12-13 15:39:09 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "sourcemap")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-aeson ghc-unordered-containers ghc-attoparsec
|
|
|
|
ghc-utf8-string))
|
|
|
|
;(native-inputs (list node))
|
|
|
|
(arguments (list #:tests? #f)) ; Needs node and module source-map.
|
2019-12-13 15:39:09 +00:00
|
|
|
(home-page
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
"https://hackage.haskell.org/package/sourcemap")
|
2019-12-13 15:39:09 +00:00
|
|
|
(synopsis
|
|
|
|
"Implementation of source maps as proposed by Google and Mozilla")
|
|
|
|
(description
|
|
|
|
"Sourcemap provides an implementation of source maps, revision 3,
|
|
|
|
proposed by Google and Mozilla here
|
|
|
|
@url{https://wiki.mozilla.org/DevTools/Features/SourceMap}.")
|
|
|
|
(license license:bsd-3)))
|
2019-12-13 15:43:44 +00:00
|
|
|
|
|
|
|
(define-public ghc-language-javascript
|
|
|
|
(package
|
|
|
|
(name "ghc-language-javascript")
|
2021-09-20 08:49:34 +00:00
|
|
|
(version "0.7.1.0")
|
2019-12-13 15:43:44 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "language-javascript" version))
|
2019-12-13 15:43:44 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-09-20 08:49:34 +00:00
|
|
|
"0s6igb54cxm2jywgc3sq53f52gcsc39wd3g78yisfzvl9jm3d86i"))))
|
2019-12-13 15:43:44 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "language-javascript")))
|
2019-12-13 15:43:44 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-blaze-builder ghc-utf8-string))
|
2019-12-13 15:43:44 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-alex ghc-quickcheck ghc-happy ghc-hspec ghc-utf8-light))
|
2019-12-13 15:43:44 +00:00
|
|
|
(home-page
|
|
|
|
"https://github.com/erikd/language-javascript")
|
|
|
|
(synopsis "Parser for JavaScript")
|
|
|
|
(description
|
|
|
|
"Parses Javascript into an Abstract Syntax Tree (AST). Initially intended
|
|
|
|
as frontend to hjsmin.")
|
|
|
|
(license license:bsd-3)))
|
2019-12-13 15:44:47 +00:00
|
|
|
|
|
|
|
(define-public ghc-bower-json
|
|
|
|
(package
|
|
|
|
(name "ghc-bower-json")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "1.1.0.0")
|
2019-12-13 15:44:47 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "bower-json" version))
|
2019-12-13 15:44:47 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2023-01-15 09:09:44 +00:00
|
|
|
"0lnhcgivg38nicncb6czkkk3z2mk3jbifv1b4r51lk3p9blzydfl"))))
|
2019-12-13 15:44:47 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "bower-json")))
|
2019-12-13 15:44:47 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-aeson ghc-aeson-better-errors ghc-scientific
|
|
|
|
ghc-transformers ghc-unordered-containers))
|
2019-12-13 15:44:47 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-tasty ghc-tasty-hunit))
|
2019-12-13 15:44:47 +00:00
|
|
|
(home-page "https://github.com/hdgarrood/bower-json")
|
|
|
|
(synopsis "Read bower.json from Haskell")
|
|
|
|
(description
|
|
|
|
"This package provides a data type and ToJSON/FromJSON instances for
|
|
|
|
Bower's package manifest file, bower.json.")
|
|
|
|
(license license:expat)))
|
2020-09-09 02:16:27 +00:00
|
|
|
|
|
|
|
(define-public ghc-dav
|
|
|
|
(package
|
|
|
|
(name "ghc-dav")
|
|
|
|
(version "1.3.4")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "DAV" version))
|
2020-09-09 02:16:27 +00:00
|
|
|
(sha256
|
|
|
|
(base32 "1isvi4fahq70lzxfz23as7qzkc01g7kba568l6flrgd0j1984fsy"))))
|
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "DAV")))
|
2020-09-09 02:16:27 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-case-insensitive
|
|
|
|
ghc-data-default
|
|
|
|
ghc-exceptions
|
|
|
|
ghc-http-client
|
|
|
|
ghc-http-client-tls
|
|
|
|
ghc-http-types
|
|
|
|
ghc-lens
|
|
|
|
ghc-transformers-base
|
|
|
|
ghc-transformers-compat
|
|
|
|
ghc-utf8-string
|
|
|
|
ghc-xml-conduit
|
|
|
|
ghc-xml-hamlet
|
|
|
|
ghc-network
|
|
|
|
ghc-network-uri
|
|
|
|
ghc-optparse-applicative))
|
2020-09-09 02:16:27 +00:00
|
|
|
(home-page "http://floss.scru.org/hDAV")
|
|
|
|
(synopsis "RFC 4918 WebDAV support")
|
|
|
|
(description "This package provides a library for the Web Distributed
|
|
|
|
Authoring and Versioning (WebDAV) extensions to HTTP as well an executable,
|
|
|
|
@command{hdav}, for command-line operation.")
|
|
|
|
(license license:gpl3)))
|
2020-12-04 19:15:38 +00:00
|
|
|
|
|
|
|
(define-public ghc-yesod-test
|
|
|
|
(package
|
|
|
|
(name "ghc-yesod-test")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "1.6.15")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "yesod-test" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"16q4f1l3m4l8iy5vmaa8c0vm2iiqhpghf3kykymlh41xy96mqpn3"))))
|
2020-12-04 19:15:38 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "yesod-test")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-hunit
|
|
|
|
ghc-aeson
|
|
|
|
ghc-attoparsec
|
|
|
|
ghc-blaze-builder
|
|
|
|
ghc-blaze-html
|
|
|
|
ghc-case-insensitive
|
|
|
|
ghc-conduit
|
|
|
|
ghc-cookie
|
|
|
|
ghc-hspec-core
|
|
|
|
ghc-html-conduit
|
|
|
|
ghc-http-types
|
|
|
|
ghc-network
|
|
|
|
ghc-memory
|
|
|
|
ghc-pretty-show
|
|
|
|
ghc-wai
|
|
|
|
ghc-wai-extra
|
|
|
|
ghc-xml-conduit
|
|
|
|
ghc-xml-types
|
|
|
|
ghc-yesod-core
|
|
|
|
ghc-blaze-markup))
|
|
|
|
(native-inputs (list ghc-hspec ghc-yesod-form ghc-unliftio
|
|
|
|
ghc-unliftio-core))
|
|
|
|
(home-page "http://www.yesodweb.com")
|
2020-12-04 19:15:38 +00:00
|
|
|
(synopsis "Integration testing for WAI/Yesod Applications")
|
2023-01-15 09:09:44 +00:00
|
|
|
(description
|
|
|
|
"This package's main goal is to encourage integration
|
2020-12-04 19:15:38 +00:00
|
|
|
and system testing of web applications by making everything easy to
|
|
|
|
test. Tests are like browser sessions that keep track of cookies and
|
|
|
|
the last visited page. You can perform assertions on the content of
|
|
|
|
HTML responses using CSS selectors.")
|
|
|
|
(license license:expat)))
|
2020-12-04 19:15:39 +00:00
|
|
|
|
|
|
|
(define-public ghc-wai-app-static
|
|
|
|
(package
|
|
|
|
(name "ghc-wai-app-static")
|
2023-01-15 09:09:44 +00:00
|
|
|
(version "3.1.7.4")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (hackage-uri "wai-app-static" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1h8zy3dprqjxvlqxrids65yg5qf1h4f63ddspwxrbp0r9d28hwb4"))))
|
2020-12-04 19:15:39 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "wai-app-static")))
|
2023-01-15 09:09:44 +00:00
|
|
|
(inputs (list ghc-wai
|
|
|
|
ghc-http-types
|
|
|
|
ghc-unix-compat
|
|
|
|
ghc-old-locale
|
|
|
|
ghc-file-embed
|
|
|
|
ghc-http-date
|
|
|
|
ghc-blaze-html
|
|
|
|
ghc-blaze-markup
|
|
|
|
ghc-mime-types
|
|
|
|
ghc-unordered-containers
|
|
|
|
ghc-zlib
|
|
|
|
ghc-wai-extra
|
|
|
|
ghc-optparse-applicative
|
|
|
|
ghc-warp
|
|
|
|
ghc-cryptonite
|
|
|
|
ghc-memory))
|
|
|
|
(native-inputs (list ghc-hspec ghc-network ghc-temporary ghc-mockery))
|
|
|
|
(home-page "http://www.yesodweb.com/book/web-application-interface")
|
2020-12-04 19:15:39 +00:00
|
|
|
(synopsis "WAI application for static serving")
|
2023-01-15 09:09:44 +00:00
|
|
|
(description
|
|
|
|
"This package provides a Web Application
|
2020-12-04 19:15:39 +00:00
|
|
|
Interface (WAI) application for static serving. It also provides some
|
|
|
|
helper functions and datatypes for use outside of WAI.")
|
|
|
|
(license license:expat)))
|
2020-12-04 19:15:41 +00:00
|
|
|
|
|
|
|
(define-public ghc-hjsmin
|
|
|
|
(package
|
|
|
|
(name "ghc-hjsmin")
|
|
|
|
(version "0.2.0.4")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "hjsmin" version))
|
2020-12-04 19:15:41 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1r2p5rjdjr25j3w4s57q5hxw2c3ymw12x7ms18yvglnq2ivr9fc1"))))
|
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "hjsmin")))
|
2020-12-04 19:15:41 +00:00
|
|
|
(arguments
|
2023-01-15 09:09:44 +00:00
|
|
|
`(#:cabal-revision ("2"
|
|
|
|
"184g49wsj2sfm8d75kgr7ylfw29gbyrqbqp4syyz30ch047jd0af")
|
|
|
|
#:phases
|
2020-12-04 19:15:41 +00:00
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'build 'fix-dist-directory-for-tests
|
|
|
|
(lambda _
|
|
|
|
(substitute* '("test/test-cli.hs" "test/cli/core/runner")
|
|
|
|
(("dist-newstyle") "dist")))))))
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-language-javascript ghc-optparse-applicative))
|
2020-12-04 19:15:41 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-extra))
|
2020-12-04 19:15:41 +00:00
|
|
|
(home-page "https://github.com/erikd/hjsmin")
|
|
|
|
(synopsis "Haskell implementation of a JavaScript minifier")
|
|
|
|
(description "This library provides tools reduce the size of
|
|
|
|
JavaScript files by stripping out extraneous whitespace and other
|
|
|
|
syntactic elements, without changing the semantics.")
|
|
|
|
(license license:bsd-3)))
|
2020-12-04 19:15:42 +00:00
|
|
|
|
|
|
|
(define-public ghc-yesod-static
|
|
|
|
(package
|
|
|
|
(name "ghc-yesod-static")
|
2021-09-20 08:49:34 +00:00
|
|
|
(version "1.6.1.0")
|
2020-12-04 19:15:42 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "yesod-static" version))
|
2020-12-04 19:15:42 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-09-20 08:49:34 +00:00
|
|
|
"18f5hm9ncvkzl8bkn39cg841z0k5iqs5w45afsyk9y6k98pjd54p"))))
|
2020-12-04 19:15:42 +00:00
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "yesod-static")))
|
2020-12-04 19:15:42 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-async
|
|
|
|
ghc-attoparsec
|
|
|
|
ghc-base64-bytestring
|
|
|
|
ghc-blaze-builder
|
|
|
|
ghc-conduit
|
|
|
|
ghc-cryptonite
|
|
|
|
ghc-cryptonite-conduit
|
|
|
|
ghc-css-text
|
|
|
|
ghc-data-default
|
|
|
|
ghc-file-embed
|
|
|
|
ghc-hashable
|
|
|
|
ghc-hjsmin
|
|
|
|
ghc-http-types
|
|
|
|
ghc-memory
|
|
|
|
ghc-mime-types
|
|
|
|
ghc-unix-compat
|
|
|
|
ghc-unordered-containers
|
|
|
|
ghc-wai
|
|
|
|
ghc-wai-app-static
|
|
|
|
ghc-yesod-core))
|
2020-12-04 19:15:42 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-hspec ghc-yesod-test ghc-wai-extra ghc-hunit ghc-rio))
|
2020-12-04 19:15:42 +00:00
|
|
|
(home-page "https://www.yesodweb.com/")
|
|
|
|
(synopsis "Static file serving subsite for Yesod")
|
|
|
|
(description "This package provides a static file serving subsite
|
|
|
|
for the Yesod Web Framework.")
|
|
|
|
(license license:expat)))
|
2020-12-04 19:15:43 +00:00
|
|
|
|
|
|
|
(define-public ghc-wai-handler-launch
|
|
|
|
(package
|
|
|
|
(name "ghc-wai-handler-launch")
|
|
|
|
(version "3.0.3.1")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "wai-handler-launch" version))
|
2020-12-04 19:15:43 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1ifqgyc1ccig5angh5l1iq7vyms4lvi8wzvysg5dw82nml49n02m"))))
|
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "wai-handler-launch")))
|
2020-12-04 19:15:43 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-wai ghc-warp ghc-http-types ghc-streaming-commons
|
|
|
|
ghc-async))
|
2020-12-04 19:15:43 +00:00
|
|
|
(home-page "https://hackage.haskell.org/package/wai-handler-launch")
|
|
|
|
(synopsis "Launch a Web application in the default browser")
|
|
|
|
(description "This package handles cross-platform Web browser
|
|
|
|
launching and inserts JavaScript code to ping the server. When the
|
|
|
|
server no longer receives pings, it shuts down.")
|
|
|
|
(license license:expat)))
|
2020-12-04 19:15:44 +00:00
|
|
|
|
|
|
|
(define-public ghc-wai-cors
|
|
|
|
(package
|
|
|
|
(name "ghc-wai-cors")
|
|
|
|
(version "0.2.7")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "wai-cors" version))
|
2020-12-04 19:15:44 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"10gv3jjlkcb13031frr818p56v2s0qf6dqjsfpwlhwdxdssvx5r5"))))
|
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "wai-cors")))
|
2020-12-04 19:15:44 +00:00
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
;; As of version 0.2.7, there are two test suites: "unit-tests"
|
|
|
|
;; and "phantomjs". Since we do not have a PhantomJS package,
|
|
|
|
;; we only run the unit tests.
|
|
|
|
(replace 'check
|
|
|
|
(lambda _
|
|
|
|
(invoke "runhaskell" "Setup.hs" "test" "unit-tests"))))))
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-attoparsec ghc-base-unicode-symbols ghc-case-insensitive
|
|
|
|
ghc-http-types ghc-wai))
|
2020-12-04 19:15:44 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list ghc-network
|
|
|
|
ghc-wai-websockets
|
|
|
|
ghc-warp
|
|
|
|
ghc-websockets
|
|
|
|
ghc-tasty
|
|
|
|
ghc-tasty-hunit
|
|
|
|
ghc-wai-extra
|
|
|
|
ghc-wai-websockets
|
|
|
|
ghc-warp
|
|
|
|
ghc-websockets))
|
2020-12-04 19:15:44 +00:00
|
|
|
(home-page "https://github.com/larskuhtz/wai-cors")
|
|
|
|
(synopsis "Cross-Origin Resource Sharing (CORS) for WAI")
|
2021-04-09 17:55:06 +00:00
|
|
|
(description "This package provides an implementation of Cross-Origin
|
2020-12-04 19:15:44 +00:00
|
|
|
Resource Sharing (CORS) for the Web Application Framework (WAI) that
|
|
|
|
aims to be compliant with @url{https://www.w3.org/TR/cors}.")
|
|
|
|
(license license:expat)))
|
2021-09-20 08:49:34 +00:00
|
|
|
|
|
|
|
(define-public ghc-network-run
|
|
|
|
(package
|
|
|
|
(name "ghc-network-run")
|
|
|
|
(version "0.2.4")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2023-01-05 07:59:52 +00:00
|
|
|
(uri (hackage-uri "network-run" version))
|
2021-09-20 08:49:34 +00:00
|
|
|
(sha256
|
|
|
|
(base32 "0w3dmwk03j4n01xkiq8m4sqa27bskh239mpw7m4ihjmkxqcwc5gl"))))
|
|
|
|
(build-system haskell-build-system)
|
2023-01-04 08:37:26 +00:00
|
|
|
(properties '((upstream-name . "network-run")))
|
2021-12-13 16:18:24 +00:00
|
|
|
(inputs (list ghc-network))
|
2021-09-20 08:49:34 +00:00
|
|
|
(home-page "https://hackage.haskell.org/package/network-run")
|
|
|
|
(synopsis "Simple network runner library")
|
|
|
|
(description
|
|
|
|
"This package provides a simple network runner library in Haskell.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|