123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262 |
- (define-module (gnu packages haskell-web)
- #:use-module (gnu packages)
- #:use-module (gnu packages curl)
- #:use-module (gnu packages haskell)
- #:use-module (gnu packages haskell-check)
- #:use-module (gnu packages haskell-crypto)
- #:use-module (gnu packages haskell-xyz)
- #: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")
- (version "0.14.8")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/tagsoup/"
- "tagsoup-" version ".tar.gz"))
- (sha256
- (base32
- "1m9sx6gr9y9yxvkmcap8xsks8cnhznvma1mrfl39zljkv005azms"))))
- (build-system haskell-build-system)
- (native-inputs
- (list ghc-quickcheck))
- (home-page "https://github.com/ndmitchell/tagsoup")
- (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")
- (version "0.4.5")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/cookie/cookie-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "10rmdasb7mypbwxdj2mhr810vqhkakpik7hyd8fvj60hng8r8zvh"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-old-locale
- ghc-blaze-builder
- ghc-data-default-class
- ghc-hunit
- ghc-quickcheck
- ghc-tasty
- ghc-tasty-hunit
- ghc-tasty-quickcheck))
- (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)))
- (define-public ghc-curl
- (package
- (name "ghc-curl")
- (version "1.3.8")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://hackage/package/curl/curl-"
- version ".tar.gz"))
- (sha256
- (base32
- "0vj4hpaa30jz7c702xpsfvqaqdxz28zslsqnsfx6bf6dpwvck1wh"))))
- (build-system haskell-build-system)
- (inputs
- (list curl))
- (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)))
- (define-public ghc-httpd-shed
- (package
- (name "ghc-httpd-shed")
- (version "0.4.1.1")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/httpd-shed/"
- "httpd-shed-" version ".tar.gz"))
- (sha256
- (base32
- "19dgdimpzr7pxk7pqvyin6j87gmvnf0rm35gzhmna8qr835wy3sr"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-network-bsd ghc-network-uri ghc-network))
- (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)))
- (define-public ghc-http-types
- (package
- (name "ghc-http-types")
- (version "0.12.3")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/http-types/"
- "http-types-" version ".tar.gz"))
- (sha256
- (base32
- "05j00b9nqmwh9zaq9y9x50k81v2pd3j7a71kd91zlnbl8xk4m2jf"))))
- (build-system haskell-build-system)
- (native-inputs
- (list ghc-doctest ghc-hspec ghc-quickcheck ghc-quickcheck-instances
- hspec-discover))
- (inputs
- (list ghc-case-insensitive))
- (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")
- (version "4000.3.16")
- (outputs '("out" "static" "doc"))
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/HTTP/"
- "HTTP-" version ".tar.gz"))
- (sha256
- (base32
- "0bgyj3ahqlyg0jw6qsm2sncp8mklc4h0dj91s043vb3ig01iq2fn"))))
- (build-system haskell-build-system)
- (native-inputs
- (list ghc-httpd-shed ghc-hunit ghc-test-framework
- ghc-test-framework-hunit))
- (inputs
- (list ghc-case-insensitive
- ghc-conduit
- ghc-conduit-extra
- ghc-http-types
- ghc-old-time
- ghc-puremd5
- ghc-network
- ghc-network-uri
- ghc-split))
- (arguments
- `(#:tests? #f
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'create-simple-paths-module
- (lambda _
- (call-with-output-file "Paths_HTTP.hs"
- (lambda (port)
- (format port "\
- {-# LANGUAGE CPP #-}
- {-# LANGUAGE NoRebindableSyntax #-}
- {-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
- module Paths_HTTP (version) where
- import Data.Version (Version(..))
- version :: Version
- version = Version [~a] []
- " (string-map (lambda (chr) (if (eq? chr #\.) #\, chr)) ,version))))
- #t)))))
- (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")
- (version "0.7.11")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "http-client/http-client-"
- version ".tar.gz"))
- (sha256
- (base32
- "12j7vkpkm2djws6ny7vm2324c7916d0iaf1mbvf4mfjxzy2w7imv"))))
- (build-system haskell-build-system)
-
- (arguments `(#:tests? #f))
- (inputs
- (list ghc-async
- ghc-base64-bytestring
- ghc-blaze-builder
- ghc-case-insensitive
- ghc-cookie
- ghc-data-default-class
- ghc-exceptions
- ghc-http-types
- ghc-iproute
- ghc-memory
- ghc-mime-types
- ghc-monad-control
- ghc-network
- ghc-network-uri
- ghc-random
- ghc-streaming-commons
- ghc-zlib))
- (native-inputs
- (list ghc-hspec))
- (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")
- (version "0.3.6.1")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "http-client-tls/http-client-tls-"
- version ".tar.gz"))
- (sha256
- (base32
- "03f8p9gxdzl6slyw1r6vpv2dqhsyjvbaawbjv75kaq0vlj3gz7xi"))))
- (build-system haskell-build-system)
-
- (arguments `(#:tests? #f))
- (inputs
- (list ghc-data-default-class
- ghc-http-client
- ghc-connection
- ghc-network
- ghc-tls
- ghc-http-types))
- (native-inputs
- (list ghc-hspec))
- (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)))
- (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)
- (inputs
- (list ghc-http-client
- ghc-http-client-tls
- ghc-connection
- ghc-data-default
- ghc-network
- ghc-network-bsd
- ghc-utf8-string))
- (home-page "http://hackage.haskell.org/package/http-client-restricted")
- (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)))
- (define-public ghc-http-date
- (package
- (name "ghc-http-date")
- (version "0.0.11")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "http-date-" version "/"
- "http-date-" version ".tar.gz"))
- (sha256
- (base32
- "1lzlrj2flcnz3k5kfhf11nk5n8m6kcya0lkwrsnzxgfr3an27y9j"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-attoparsec))
- (native-inputs
- (list ghc-doctest ghc-hspec hspec-discover ghc-old-locale))
- (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")
- (version "3.0.2")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "http2-" version "/"
- "http2-" version ".tar.gz"))
- (sha256
- (base32
- "13c2z35gdimncgpyg5dn5cpjvd83rbrigc8b40crg36678m0k0d1"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-aeson
- ghc-aeson-pretty
- ghc-base16-bytestring
- ghc-case-insensitive
- ghc-cryptonite
- ghc-http-types
- ghc-network-byte-order
- ghc-network
- ghc-network-run
- ghc-psqueues
- ghc-time-manager
- ghc-unix-time
- ghc-unordered-containers
- ghc-vector
- ghc-word8))
- (native-inputs
- (list ghc-async
- ghc-doctest
- ghc-glob
- ghc-hspec
- hspec-discover
- ghc-typed-process))
- (home-page "https://github.com/kazu-yamamoto/http2")
- (synopsis "HTTP/2 library including frames, priority queues and HPACK")
- (description "This package provides a HTTP/2.0 library including frames
- 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")
- (version "2.3.8")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "http-conduit-" version "/" "http-conduit-"
- version ".tar.gz"))
- (sha256
- (base32
- "1bj24phbcb7s3k6v48l5gk82m3m23j8zy9l7c5ccxp3ghn9z5gng"))))
- (build-system haskell-build-system)
-
-
-
- (arguments `(#:tests? #f))
- (inputs
- (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))
- (native-inputs
- (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))
- (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)))
- (define-public ghc-http-reverse-proxy
- (package
- (name "ghc-http-reverse-proxy")
- (version "0.6.0")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/http-reverse-proxy/"
- "http-reverse-proxy-" version ".tar.gz"))
- (sha256
- (base32
- "1a6i5njf85b2lhg8m83njagcf09wih5q2irnyb2890s724qr277v"))))
- (build-system haskell-build-system)
- (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")
- (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)))
- (define-public ghc-wai
- (package
- (name "ghc-wai")
- (version "3.2.3")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/wai/wai-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "1y19h9v0cq1fl17ywcyyvd6419fhgyw2s0yk0ki8z60021adcx2m"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-bytestring-builder
- ghc-unix-compat
- ghc-vault
- ghc-blaze-builder
- ghc-network
- ghc-http-types))
- (native-inputs
- (list hspec-discover ghc-quickcheck ghc-hunit ghc-hspec))
- (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")
- (version "2.3.6")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/wai-logger/wai-logger-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "0hbm7if28p6qa36cgpyq6i569275si53z9gsl2g1z8x09z3xiyz2"))))
- (build-system haskell-build-system)
- (arguments `(#:tests? #f))
-
- (inputs
- (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))
- (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")
- (version "3.1.7")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/wai-extra/wai-extra-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "1avf7bjcsbs8l6klp5kkd0cd2dc5n0j0a2yf8813pnwfn5b7qyd4"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-ansi-terminal
- ghc-base64-bytestring
- ghc-call-stack
- ghc-cookie
- ghc-network
- ghc-streaming-commons
- ghc-resourcet
- ghc-fast-logger
- ghc-wai-logger
- ghc-word8
- ghc-iproute
- ghc-wai
- ghc-http-types
- ghc-http2
- ghc-case-insensitive
- ghc-data-default-class
- ghc-vault
- ghc-aeson))
- (native-inputs
- (list hspec-discover ghc-hspec ghc-hunit ghc-zlib))
- (home-page "https://github.com/yesodweb/wai")
- (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")
- (version "3.0.0.4")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "wai-conduit-" version "/"
- "wai-conduit-" version ".tar.gz"))
- (sha256
- (base32
- "07yn41rn2skd5p3wqqa09wa761vj7ibl8l19gh4bi4i8slxhk417"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-conduit ghc-http-types ghc-wai ghc-blaze-builder))
- (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)))
- (define-public ghc-bsb-http-chunked
- (package
- (name "ghc-bsb-http-chunked")
- (version "0.0.0.4")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/"
- "bsb-http-chunked/bsb-http-chunked-"
- version ".tar.gz"))
- (sha256
- (base32
- "0z0f18yc6zlwh29c6175ivfcin325lvi4irpvv0n3cmq7vi0k0ql"))))
- (build-system haskell-build-system)
- (arguments
- `(
-
- #:tests? ,(and (not (%current-target-system))
- (not (string-prefix? "i686" (or (%current-target-system)
- (%current-system)))))
- #:cabal-revision
- ("3" "15hg352id2f4x0dnvv47bdiz6gv5hp5a2mki9yzmhc7ajpk31mdd")))
- (native-inputs
- (list ghc-attoparsec
- ghc-blaze-builder
- ghc-hedgehog
- ghc-tasty
- ghc-tasty-hedgehog
- ghc-tasty-hunit
- ghc-doctest))
- (home-page "https://github.com/sjakobi/bsb-http-chunked")
- (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)))
- (define-public ghc-warp
- (package
- (name "ghc-warp")
- (version "3.3.17")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "warp-" version "/" "warp-" version
- ".tar.gz"))
- (sha256
- (base32 "0v54ca3wpa79gdyiikwhbv9h8b5vr3d60piq3ndb2v7s7fi1qpm0"))))
- (build-system haskell-build-system)
- (inputs
- (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
- ghc-http2))
- (native-inputs
- (list curl
- ghc-silently
- ghc-hspec
- ghc-doctest
- ghc-lifted-base
- ghc-quickcheck
- ghc-hunit
- ghc-http-client
- hspec-discover))
- (home-page "https://github.com/yesodweb/wai")
- (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)))
- (define-public ghc-tls-session-manager
- (package
- (name "ghc-tls-session-manager")
- (version "0.0.4")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/"
- "tls-session-manager/tls-session-manager-"
- version ".tar.gz"))
- (sha256
- (base32
- "134kb5nz668f4xrr5g98g7fc1bwb3ri6q433a1i6asjkniwpy85s"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-auto-update ghc-clock ghc-psqueues ghc-tls))
- (home-page "https://hackage.haskell.org/package/tls-session-manager")
- (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)))
- (define-public ghc-warp-tls
- (package
- (name "ghc-warp-tls")
- (version "3.3.2")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "warp-tls-" version "/"
- "warp-tls-" version ".tar.gz"))
- (sha256
- (base32
- "0b9viw26ymzq4q8snfddz3w59sqcf5ankxnw6f99iacxjhk6zs6m"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-cryptonite
- ghc-data-default-class
- ghc-network
- ghc-streaming-commons
- ghc-tls
- ghc-tls-session-manager
- ghc-unliftio
- ghc-wai
- ghc-warp))
- (home-page "https://github.com/yesodweb/wai")
- (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)))
- (define-public ghc-websockets
- (package
- (name "ghc-websockets")
- (version "0.12.7.2")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/websockets/websockets-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "1b92a41l2var1ccg350mh2bjmb2plb6d79yzvmlwkd41nifmmi44"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-attoparsec
- ghc-base64-bytestring
- ghc-bytestring-builder
- ghc-case-insensitive
- ghc-network
- ghc-random
- ghc-sha
- ghc-clock
- ghc-async
- ghc-streaming-commons
- ghc-entropy))
- (native-inputs
- (list ghc-hunit ghc-quickcheck ghc-test-framework
- ghc-test-framework-hunit ghc-test-framework-quickcheck2))
- (home-page "https://jaspervdj.be/websockets/")
- (synopsis
- "Write WebSocket-capable servers in Haskell")
- (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)))
- (define-public ghc-wai-websockets
- (package
- (name "ghc-wai-websockets")
- (version "3.0.1.2")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "mirror://hackage/package/wai-websockets/wai-websockets-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "0b2xmdsrsqpssyib53wbr6r8hf75789ndyyanv37sv99iyqcwz4i"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-wai ghc-case-insensitive ghc-network ghc-websockets
- ghc-http-types))
- (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)))
- (define-public ghc-xss-sanitize
- (package
- (name "ghc-xss-sanitize")
- (version "0.3.6")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/xss-sanitize/xss-sanitize-"
- version ".tar.gz"))
- (sha256
- (base32
- "1d72s3a6520iwwc1wbn9v2znqgbw6a5wwzb23iq8ny9ccnjyx1dk"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-tagsoup ghc-utf8-string ghc-css-text ghc-network-uri))
- (native-inputs
- (list ghc-attoparsec ghc-hspec ghc-hunit))
- (home-page "https://github.com/yesodweb/haskell-xss-sanitize")
- (synopsis "Sanitize untrusted HTML to prevent XSS attacks")
- (description "This library provides @code{sanitizeXSS}. Run untrusted
- HTML through @code{Text.HTML.SanitizeXSS.sanitizeXSS} to prevent XSS
- attacks.")
- (license license:bsd-3)))
- (define-public ghc-css-text
- (package
- (name "ghc-css-text")
- (version "0.1.3.0")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/css-text/css-text-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "0ynd9f4hn2sfwqzbsa0y7phmxq8za7jiblpjwx0ry8b372zhgxaz"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-attoparsec ghc-hspec ghc-quickcheck))
- (home-page "https://www.yesodweb.com/")
- (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")
- (version "0.1.0.9")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "mime-types/mime-types-"
- version ".tar.gz"))
- (sha256
- (base32
- "1lkipa4v73z3l5lqs6sdhl898iq41kyxv2jb9agsajzgd58l6cha"))))
- (build-system haskell-build-system)
- (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)
- (uri (string-append
- "https://hackage.haskell.org/package/html/html-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "0q9hmfii62kc82ijlg238fxrzxhsivn42x5wd6ffcr9xldg4jd8c"))))
- (build-system haskell-build-system)
- (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)))
- (define-public ghc-html-conduit
- (package
- (name "ghc-html-conduit")
- (version "1.3.2.2")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/html-conduit/"
- "html-conduit-" version ".tar.gz"))
- (sha256
- (base32
- "09bwrdam3y47kqllgg6w098ghqb8jb10dp4wxirsvx5ddpx9zpi6"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-resourcet
- ghc-conduit
- ghc-xml-conduit
- ghc-xml-types
- ghc-attoparsec
- ghc-conduit-extra))
- (native-inputs
- (list ghc-hspec ghc-hunit))
- (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)))
- (define-public ghc-blaze-html
- (package
- (name "ghc-blaze-html")
- (version "0.9.1.2")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "blaze-html/blaze-html-"
- version ".tar.gz"))
- (sha256
- (base32
- "0k1r1hddjgqighazcazxrx6xfhvy2gm8il8l82ainv3cai13yl30"))))
- (build-system haskell-build-system)
- (arguments
- `(#:tests? #f
- #:cabal-revision
- ("1" "0wvlfb3rd9cm3p894p5rl9kggrsr5da3n8x9ydrbagx91yvkxns9")))
- (inputs
- (list ghc-blaze-builder ghc-blaze-markup))
- (native-inputs
- (list ghc-hunit ghc-quickcheck ghc-test-framework
- ghc-test-framework-hunit ghc-test-framework-quickcheck2))
- (home-page "http://jaspervdj.be/blaze")
- (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")
- (version "1.5.6.0")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/aeson/aeson-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "1s5z4bgb5150h6a4cjf5vh8dmyrn6ilh29gh05999v6jwd5w6q83"))))
- (build-system haskell-build-system)
- (arguments
- `(#:tests? #f
- #:cabal-revision
- ("2" "1zxkarvmbgc2cpcc9sx1rlqm7nfh473052898ypiwk8azawp1hbj")))
- (outputs '("out" "static" "doc"))
- (inputs
- (list ghc-attoparsec
- ghc-base-compat-batteries
- ghc-data-fix
- ghc-dlist
- ghc-hashable
- ghc-primitive
- ghc-scientific
- ghc-strict
- ghc-tagged
- ghc-th-abstraction
- ghc-these
- ghc-time-compat
- ghc-unordered-containers
- ghc-uuid-types
- ghc-vector))
- (home-page "https://github.com/bos/aeson")
- (synopsis "Fast JSON parsing and encoding")
- (description "This package provides a JSON parsing and encoding library
- 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")
- (version "0.8.9")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/aeson-pretty/aeson-pretty-"
- version ".tar.gz"))
- (sha256
- (base32
- "021az9az6xik9c9s3rnar5fr1lgy2h3igibf5ixnc7ps3m2lzg2x"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-aeson
- ghc-base-compat
- ghc-scientific
- ghc-vector
- ghc-unordered-containers
- ghc-attoparsec
- ghc-cmdargs))
- (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
- as well as a command-line tool to improve readability of streams of JSON data.
- 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")
- (version "0.8.4")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "aeson-qq/aeson-qq-" version ".tar.gz"))
- (sha256
- (base32
- "0dpklq2xdhrkg1rdc7zfdjnzm6c3qxx2i1xskrqdxpqi84ffnlyh"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-base-compat
- ghc-attoparsec
- ghc-scientific
- ghc-vector
- ghc-aeson
- ghc-haskell-src-meta))
- (native-inputs
- (list ghc-hspec hspec-discover))
- (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)))
- (define-public ghc-aeson-better-errors
- (package
- (name "ghc-aeson-better-errors")
- (version "0.9.1.0")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "mirror://hackage/package/aeson-better-errors/aeson-better-errors-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "09vkyrhwak3bmpfsqcd2az8hfqqkxyhg468hv5avgisy0nzh3w38"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-aeson
- ghc-unordered-containers
- ghc-dlist
- ghc-scientific
- ghc-vector
- ghc-transformers-compat
- ghc-void))
- (home-page
- "https://github.com/hdgarrood/aeson-better-errors")
- (synopsis
- "Better error messages when decoding JSON values in Haskell")
- (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)))
- (define-public ghc-multipart
- (package
- (name "ghc-multipart")
- (version "0.2.1")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/multipart/multipart-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "0p6n4knxpjv70nbl6cmd6x7gkdjsjqp4ya7fz00bfrqp7jvhlivn"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-stringsearch))
- (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)))
- (define-public ghc-uri-encode
- (package
- (name "ghc-uri-encode")
- (version "1.5.0.7")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/uri-encode/uri-encode-"
- version ".tar.gz"))
- (sha256
- (base32
- "0lj2h701af12539p957rw24bxr07mfqd5r4h52i42f43ax165767"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-utf8-string ghc-network-uri))
- (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)))
- (define-public ghc-path-pieces
- (package
- (name "ghc-path-pieces")
- (version "0.2.1")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "path-pieces-" version "/"
- "path-pieces-" version ".tar.gz"))
- (sha256
- (base32
- "0vx3sivcsld76058925hym2j6hm3g71f0qjr7v59f1g2afgx82q8"))))
- (build-system haskell-build-system)
- (native-inputs (list ghc-hunit ghc-hspec ghc-quickcheck))
- (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)))
- (define-public ghc-skein
- (package
- (name "ghc-skein")
- (version "1.0.9.4")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "skein-" version "/"
- "skein-" version ".tar.gz"))
- (sha256
- (base32
- "1jdqdk0rz2wnvw735clnj8jh0a9rkrbqjg7vk3w6wczdql6cm0pq"))))
- (build-system haskell-build-system)
- (inputs (list ghc-cereal ghc-tagged ghc-crypto-api))
- (native-inputs (list ghc-hspec))
- (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)))
- (define-public ghc-clientsession
- (package
- (name "ghc-clientsession")
- (version "0.9.1.2")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "clientsession-" version "/"
- "clientsession-" version ".tar.gz"))
- (sha256
- (base32
- "0s6h4ykj16mpf7nlw2iqn2ji0p8g1fn5ni0s7yqaili6vv2as5ar"))))
- (build-system haskell-build-system)
- (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))
- (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)))
- (define-public ghc-yesod-core
- (package
- (name "ghc-yesod-core")
- (version "1.6.21.0")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "yesod-core-" version "/"
- "yesod-core-" version ".tar.gz"))
- (sha256
- (base32
- "0wmh7ip318p89lyy6k5mvxkkpq43knp41wlq9iaf3icz0ahqdmb7"))))
- (build-system haskell-build-system)
- (inputs (list ghc-wai
- ghc-extra
- ghc-shakespeare
- ghc-blaze-builder
- ghc-clientsession
- ghc-random
- ghc-cereal
- ghc-old-locale
- ghc-unliftio
- ghc-unordered-containers
- ghc-monad-control
- ghc-transformers-base
- ghc-cookie
- ghc-http-types
- ghc-case-insensitive
- ghc-vector
- ghc-aeson
- ghc-fast-logger
- ghc-wai-logger
- ghc-monad-logger
- ghc-conduit
- ghc-resourcet
- ghc-rio
- ghc-lifted-base
- ghc-blaze-html
- ghc-blaze-markup
- ghc-data-default
- ghc-safe
- ghc-warp
- ghc-unix-compat
- ghc-conduit-extra
- ghc-exceptions
- ghc-deepseq-generics
- ghc-mwc-random
- ghc-primitive
- ghc-word8
- ghc-auto-update
- ghc-semigroups
- ghc-byteable))
- (native-inputs (list ghc-hspec
- ghc-path-pieces
- ghc-hunit
- ghc-hspec-expectations
- ghc-quickcheck
- ghc-network
- ghc-async
- ghc-streaming-commons
- ghc-wai-extra))
- (home-page "https://www.yesodweb.com")
- (synopsis "Core package for the Yesod web framework")
- (description "This Haskell package provides all core functionality, for
- Yesod, on which other packages can be built. It provides dispatch, handler
- functions, widgets, etc.")
- (license license:expat)))
- (define-public ghc-yesod-persistent
- (package
- (name "ghc-yesod-persistent")
- (version "1.6.0.7")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "yesod-persistent-" version "/"
- "yesod-persistent-" version ".tar.gz"))
- (sha256
- (base32
- "102xmp7n08sk1g5rv31jpln2v9kqf1zsqsnmi83mnhmgggcbj1k4"))))
- (build-system haskell-build-system)
- (arguments `(#:tests? #f))
- (inputs (list ghc-yesod-core
- ghc-persistent
- ghc-persistent-template
- ghc-blaze-builder
- ghc-conduit
- ghc-resourcet
- ghc-resource-pool))
- (native-inputs (list ghc-hspec ghc-wai-extra ghc-yesod-core
- ghc-persistent-sqlite))
- (home-page "https://www.yesodweb.com/")
- (synopsis "Helpers for using Persistent from Yesod")
- (description "This Haskell package provides helpers for using Persistent
- from Yesod.")
- (license license:expat)))
- (define-public ghc-yesod-form
- (package
- (name "ghc-yesod-form")
- (version "1.7.0")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/yesod-form/yesod-form-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "170gby381h5pg9njn908cyx2931yiv79x3rc5npg2rd74kif06vi"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-yesod-core
- ghc-yesod-persistent
- ghc-shakespeare
- ghc-persistent
- ghc-data-default
- ghc-xss-sanitize
- ghc-blaze-builder
- ghc-email-validate
- ghc-wai
- ghc-blaze-html
- ghc-blaze-markup
- ghc-attoparsec
- ghc-byteable
- ghc-aeson
- ghc-resourcet
- ghc-semigroups
- ghc-network-uri
- ghc-hspec))
- (home-page "https://www.yesodweb.com")
- (synopsis "Form handling support for Yesod Web Framework")
- (description "This Haskell package provides a set of basic form inputs such
- as text, number, time, checkbox, select, textarea, etc through the
- @code{Yesod.Form.Fields} module. Also, there is @code{Yesod.Form.Nic} module
- providing richtext field using Nic editor.")
- (license license:expat)))
- (define-public ghc-yesod
- (package
- (name "ghc-yesod")
- (version "1.6.1.2")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/yesod/yesod-"
- version ".tar.gz"))
- (sha256
- (base32
- "13r0ispprj41kgn2rkc7zhy1rxfmgpjbmdlnys15h0ihhh3zhw2f"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-yesod-core
- ghc-yesod-persistent
- ghc-yesod-form
- ghc-wai
- ghc-wai-extra
- ghc-warp
- ghc-aeson
- ghc-file-embed
- ghc-data-default-class
- ghc-unordered-containers
- ghc-yaml
- ghc-monad-logger
- ghc-fast-logger
- ghc-conduit
- ghc-shakespeare
- ghc-streaming-commons
- ghc-wai-logger))
- (home-page "https://www.yesodweb.com")
- (synopsis "Framework for creating type-safe, RESTful web applications")
- (description "The Haskell package package groups together the various
- 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)))
- (define-public ghc-hxt-charproperties
- (package
- (name "ghc-hxt-charproperties")
- (version "9.5.0.0")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "hxt-charproperties/hxt-charproperties-"
- version ".tar.gz"))
- (sha256
- (base32
- "0jm98jddbsd60jc2bz8wa71rslagbaqf00ia7fvfsaiaa54nk0r8"))))
- (build-system haskell-build-system)
- (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)
- (uri (string-append
- "https://hackage.haskell.org/package/hxt-unicode/hxt-unicode-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "0rj48cy8z4fl3zpg5bpa458kqr83adav6jnqv4i71dclpprj6n3v"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-hxt-charproperties))
- (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")
- (version "9.2.0.7")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "hxt-regex-xmlschema/hxt-regex-xmlschema-"
- version ".tar.gz"))
- (sha256
- (base32
- "0ynrf65m7abq2fjnarlwq6i1r99pl89npibxx05rlplcgpybrdmr"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-hxt-charproperties ghc-hunit))
- (home-page "https://wiki.haskell.org/Regular_expressions_for_XML_Schema")
- (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")
- (version "9.3.1.22")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/hxt/hxt-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "1n9snbdl46x23ka7bbsls1vsn0plpmfmbpbl0msjfm92fkk2yq7g"))))
- (build-system haskell-build-system)
- (outputs '("out" "static" "doc"))
- (inputs
- (list ghc-hxt-charproperties ghc-hxt-unicode ghc-hxt-regex-xmlschema
- ghc-network-uri))
- (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)))
- (define-public ghc-http-common
- (package
- (name "ghc-http-common")
- (version "0.8.3.4")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "http-common/http-common-" version ".tar.gz"))
- (sha256
- (base32
- "1xpbnfac0fqa5r670ggwm4kq3cmz9jpaw9bx40j9w9qiw6xi4i28"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-base64-bytestring
- ghc-blaze-builder
- ghc-case-insensitive
- ghc-network
- ghc-random
- ghc-unordered-containers))
- (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)))
- (define-public ghc-http-streams
- (package
- (name "ghc-http-streams")
- (version "0.8.9.4")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "http-streams/http-streams-" version ".tar.gz"))
- (sha256
- (base32
- "03xdcb0v735xdrkjlm1w56mskh3x08cbsjrcd7wn4li65ixc20xa"))))
- (build-system haskell-build-system)
- (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))
- (arguments
- `(#:tests? #f))
- (home-page "https://github.com/afcowie/http-streams/")
- (synopsis "HTTP client using io-streams")
- (description "An HTTP client using the Snap Framework's io-streams
- 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)))
- (define-public ghc-snap-core
- (package
- (name "ghc-snap-core")
- (version "1.0.4.2")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "snap-core/snap-core-" version ".tar.gz"))
- (sha256
- (base32
- "0zxdhx4wk70bkn71574lyz3zhq79yy98rv05r4564rd100xw3fqs"))))
- (build-system haskell-build-system)
- (arguments
- `(#:tests? #f
- #:cabal-revision
- ("1" "065v61clskzikywv0gy9n4fjaszi2fnjklal83kqbzhzzgkf83ng")))
- (inputs
- (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))
- (native-inputs
- (list ghc-quickcheck
- ghc-parallel
- ghc-test-framework
- ghc-test-framework-hunit
- ghc-test-framework-quickcheck2
- ghc-zlib))
- (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)))
- (define-public ghc-snap-server
- (package
- (name "ghc-snap-server")
- (version "1.1.2.0")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "snap-server/snap-server-" version ".tar.gz"))
- (sha256
- (base32
- "0w4yv9a5ilpma0335ariwap2iscmdbaaif88lq3cm7px910nyc4j"))))
- (build-system haskell-build-system)
- (inputs
- (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))
- (native-inputs
- (list ghc-base16-bytestring
- ghc-monad-control
- ghc-random
- ghc-threads
- ghc-hunit
- ghc-quickcheck
- ghc-http-streams
- ghc-http-common
- ghc-parallel
- ghc-test-framework
- ghc-test-framework-hunit
- ghc-test-framework-quickcheck2))
- (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)))
- (define-public ghc-js-jquery
- (package
- (name "ghc-js-jquery")
- (version "3.3.1")
- (source
- (origin
- (method url-fetch)
- (uri
- (string-append
- "https://hackage.haskell.org/package/js-jquery/js-jquery-"
- version ".tar.gz"))
- (sha256
- (base32
- "16q68jzbs7kp07dnq8cprdcc8fd41rim38039vg0w4x11lgniq70"))))
- (build-system haskell-build-system)
- (arguments `(#:tests? #f))
- (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)))
- (define-public ghc-js-flot
- (package
- (name "ghc-js-flot")
- (version "0.8.3")
- (source
- (origin
- (method url-fetch)
- (uri
- (string-append
- "https://hackage.haskell.org/package/js-flot/js-flot-"
- version ".tar.gz"))
- (sha256
- (base32
- "0yjyzqh3qzhy5h3nql1fckw0gcfb0f4wj9pm85nafpfqp2kg58hv"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-http))
- (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)))
- (define-public ghc-happstack-server
- (package
- (name "ghc-happstack-server")
- (version "7.7.1.1")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/happstack-server/happstack-server-"
- version ".tar.gz"))
- (sha256
- (base32
- "0nc5rnvrzl9m3pinmdq234m80qkf4jszbdqnd567f7lh09yiqw9n"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-network
- ghc-network-bsd
- ghc-network-uri
- ghc-base64-bytestring
- ghc-blaze-html
- ghc-exceptions
- 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))
- (native-inputs (list ghc-hunit))
- (home-page "http://happstack.com")
- (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)))
- (define-public ghc-sendfile
- (package
- (name "ghc-sendfile")
- (version "0.7.11.1")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/sendfile/sendfile-"
- version ".tar.gz"))
- (sha256
- (base32
- "0988snmx3bylpw3kcq8hsgji8idc6xcrcfp275qjv3apfdgc9rp0"))))
- (build-system haskell-build-system)
- (inputs (list ghc-network))
- (home-page
- "https://hub.darcs.net/stepcut/sendfile")
- (synopsis "Portable sendfile library for Haskell")
- (description
- "Haskell library which exposes zero-copy sendfile functionality in a portable way.")
- (license license:bsd-3)))
- (define-public ghc-scalpel-core
- (package
- (name "ghc-scalpel-core")
- (version "0.6.2")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/scalpel-core/"
- "scalpel-core-" version ".tar.gz"))
- (sha256
- (base32
- "07mjff8aqwabx8yhq8bd7jpnarkkrjqss8h8s2wkfmfj808fllmf"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-data-default
- ghc-fail
- ghc-pointedlist
- ghc-regex-base
- ghc-regex-tdfa
- ghc-tagsoup
- ghc-vector))
- (native-inputs (list ghc-hunit))
- (home-page "https://github.com/fimad/scalpel")
- (synopsis
- "High level web scraping library for Haskell")
- (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)))
- (define-public ghc-scalpel
- (package
- (name "ghc-scalpel")
- (version "0.6.2")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/scalpel/"
- "scalpel-" version ".tar.gz"))
- (sha256
- (base32
- "04hhvk0yjxha3yg6n9fxivrz97hpjjiiblnj0bvs5myax1ggkjch"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-scalpel-core
- ghc-case-insensitive
- ghc-data-default
- ghc-http-client
- ghc-http-client-tls
- ghc-tagsoup))
- (home-page "https://github.com/fimad/scalpel")
- (synopsis
- "High level web scraping library for Haskell")
- (description
- "Scalpel is a web scraping library inspired by libraries like Parsec
- and Perl's @code{Web::Scraper}. Scalpel builds on top of TagSoup to provide a
- declarative and monadic interface.")
- (license license:asl2.0)))
- (define-public ghc-sourcemap
- (package
- (name "ghc-sourcemap")
- (version "0.1.6.1")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/sourcemap/sourcemap-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "0kz8xpcd5syg5s4qa2qq8ylaxjhabj127w42may46vv6i0q1bf8a"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-aeson ghc-unordered-containers ghc-attoparsec
- ghc-utf8-string))
- (arguments
- `(#:tests? #f
- #:cabal-revision
- ("1" "1f7q44ar6qfip8fsllg43jyn7r15ifn2r0vz32cbmx0sb0d38dax")))
- (home-page
- "http://hackage.haskell.org/package/sourcemap")
- (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)))
- (define-public ghc-language-javascript
- (package
- (name "ghc-language-javascript")
- (version "0.7.1.0")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/language-javascript/language-javascript-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "0s6igb54cxm2jywgc3sq53f52gcsc39wd3g78yisfzvl9jm3d86i"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-blaze-builder ghc-utf8-string))
- (native-inputs
- (list ghc-alex ghc-quickcheck ghc-happy ghc-hspec ghc-utf8-light))
- (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)))
- (define-public ghc-bower-json
- (package
- (name "ghc-bower-json")
- (version "1.0.0.1")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "mirror://hackage/package/bower-json/bower-json-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "0wvygg3rdbxzrmr61a9w6ddv9pfric85ih8hnxyk0ydzn7i59abs"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-aeson ghc-aeson-better-errors ghc-scientific
- ghc-transformers ghc-unordered-containers))
- (native-inputs
- (list ghc-tasty ghc-tasty-hunit))
- (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)))
- (define-public ghc-dav
- (package
- (name "ghc-dav")
- (version "1.3.4")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/DAV/DAV-"
- version ".tar.gz"))
- (sha256
- (base32 "1isvi4fahq70lzxfz23as7qzkc01g7kba568l6flrgd0j1984fsy"))))
- (build-system haskell-build-system)
- (inputs
- (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))
- (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)))
- (define-public ghc-yesod-test
- (package
- (name "ghc-yesod-test")
- (version "1.6.12")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "yesod-test/yesod-test-" version ".tar.gz"))
- (sha256
- (base32
- "1xgy7dzhqjgllqcpyyxs0spdg6vlz2c1sjvni7w7qnsf0ckyw2l8"))))
- (build-system haskell-build-system)
- (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-semigroups
- ghc-wai
- ghc-wai-extra
- ghc-xml-conduit
- ghc-xml-types
- ghc-yesod-core))
- (native-inputs
- (list ghc-hspec ghc-yesod-form ghc-unliftio ghc-unliftio-core))
- (home-page "https://www.yesodweb.com")
- (synopsis "Integration testing for WAI/Yesod Applications")
- (description "This package's main goal is to encourage integration
- 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)))
- (define-public ghc-wai-app-static
- (package
- (name "ghc-wai-app-static")
- (version "3.1.7.2")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "wai-app-static/wai-app-static-"
- version ".tar.gz"))
- (sha256
- (base32
- "138gd5482psq0wbm8s1az672lksi7vbavq6ayiyjkliivf6xpry8"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-wai
- ghc-http-types
- ghc-unix-compat
- ghc-old-locale
- ghc-file-embed
- ghc-cryptonite
- ghc-memory
- 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))
- (native-inputs
- (list ghc-hspec ghc-network ghc-temporary ghc-mockery))
- (arguments
- `(#:cabal-revision
- ("1" "1q7zwjasysgbp9rdp75535igd7s6mhi2bnl4pzsn6vbyfw3qnsxd")))
- (home-page "https://www.yesodweb.com/book/web-application-interface")
- (synopsis "WAI application for static serving")
- (description "This package provides a Web Application
- Interface (WAI) application for static serving. It also provides some
- helper functions and datatypes for use outside of WAI.")
- (license license:expat)))
- (define-public ghc-hjsmin
- (package
- (name "ghc-hjsmin")
- (version "0.2.0.4")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "hjsmin/hjsmin-" version ".tar.gz"))
- (sha256
- (base32
- "1r2p5rjdjr25j3w4s57q5hxw2c3ymw12x7ms18yvglnq2ivr9fc1"))))
- (build-system haskell-build-system)
- (arguments
- `(#:phases
- (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
- (list ghc-language-javascript ghc-optparse-applicative))
- (native-inputs
- (list ghc-extra))
- (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)))
- (define-public ghc-yesod-static
- (package
- (name "ghc-yesod-static")
- (version "1.6.1.0")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "yesod-static/yesod-static-" version ".tar.gz"))
- (sha256
- (base32
- "18f5hm9ncvkzl8bkn39cg841z0k5iqs5w45afsyk9y6k98pjd54p"))))
- (build-system haskell-build-system)
- (inputs
- (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))
- (native-inputs
- (list ghc-hspec ghc-yesod-test ghc-wai-extra ghc-hunit ghc-rio))
- (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)))
- (define-public ghc-wai-handler-launch
- (package
- (name "ghc-wai-handler-launch")
- (version "3.0.3.1")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "wai-handler-launch/wai-handler-launch-"
- version ".tar.gz"))
- (sha256
- (base32
- "1ifqgyc1ccig5angh5l1iq7vyms4lvi8wzvysg5dw82nml49n02m"))))
- (build-system haskell-build-system)
- (inputs
- (list ghc-wai ghc-warp ghc-http-types ghc-streaming-commons
- ghc-async))
- (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)))
- (define-public ghc-wai-cors
- (package
- (name "ghc-wai-cors")
- (version "0.2.7")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://hackage.haskell.org/package/"
- "wai-cors/wai-cors-" version ".tar.gz"))
- (sha256
- (base32
- "10gv3jjlkcb13031frr818p56v2s0qf6dqjsfpwlhwdxdssvx5r5"))))
- (build-system haskell-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
-
-
-
- (replace 'check
- (lambda _
- (invoke "runhaskell" "Setup.hs" "test" "unit-tests"))))))
- (inputs
- (list ghc-attoparsec ghc-base-unicode-symbols ghc-case-insensitive
- ghc-http-types ghc-wai))
- (native-inputs
- (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))
- (home-page "https://github.com/larskuhtz/wai-cors")
- (synopsis "Cross-Origin Resource Sharing (CORS) for WAI")
- (description "This package provides an implementation of Cross-Origin
- 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)))
- (define-public ghc-network-run
- (package
- (name "ghc-network-run")
- (version "0.2.4")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/network-run/network-run-"
- version
- ".tar.gz"))
- (sha256
- (base32 "0w3dmwk03j4n01xkiq8m4sqa27bskh239mpw7m4ihjmkxqcwc5gl"))))
- (build-system haskell-build-system)
- (inputs (list ghc-network))
- (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)))
|