{"bugs":[],"categories":[{"categoryid":433,"name":"dev-haskell","summary":"The dev-haskell category contains libraries and utilities relevant to the Haskell programming language."},{"categoryid":450,"name":"dev-lang","summary":"The dev-lang category contains various programming language implementations and related tools."}],"changelog":[{"authoremail":"repomirrorci@gentoo.org","authorname":"Repository mirror & CI","commitid":"3daae76a50c165771b4dc168df6c85939aac551b","committime":"2024-10-01T21:18:52","packageid":75210,"repoid":1,"summary":"Merge updates from master"},{"authoremail":"mattst88@gentoo.org","authorname":"Matt Turner","body":"Signed-off-by: Matt Turner <mattst88@gentoo.org>","commitid":"65c77847d4a6107ae4db08949d3be90e928c3cb1","committime":"2024-09-09T21:36:19","packageid":75210,"repoid":1,"summary":"dev-haskell\/*: Drop stable keywords"},{"authoremail":"repomirrorci@gentoo.org","authorname":"Repository mirror & CI","commitid":"7075538072f42472766b315f3c78e1289238cfae","committime":"2023-10-28T02:46:51","packageid":75210,"repoid":1,"summary":"Merge updates from master"},{"authoremail":"hololeap@protonmail.com","authorname":"hololeap","body":"Closes: https:\/\/bugs.gentoo.org\/916188\nSigned-off-by: hololeap <hololeap@protonmail.com>\nCloses: https:\/\/github.com\/gentoo\/gentoo\/pull\/33553\nSigned-off-by: Sam James <sam@gentoo.org>","commitid":"29117f33f8379b95076921356b60f74f4bd9bc53","committime":"2023-10-28T02:24:08","packageid":75210,"repoid":1,"summary":"dev-haskell\/http-media: Loosen bytestring dep"},{"authoremail":"repomirrorci@gentoo.org","authorname":"Repository mirror & CI","commitid":"c2688e5756c2fb9ee24ce01e18ece1a9592aea3f","committime":"2023-10-23T03:31:53","packageid":75210,"repoid":1,"summary":"Merge updates from master"},{"authoremail":"hololeap@protonmail.com","authorname":"hololeap","body":"Signed-off-by: hololeap <hololeap@protonmail.com>\nSigned-off-by: Sam James <sam@gentoo.org>","commitid":"ae661133028e52ada707a8a2408f809dea439d7d","committime":"2023-10-06T06:04:40","packageid":75210,"repoid":1,"summary":"dev-haskell\/http-media: Migrate to CABAL_CHDEPS"},{"authoremail":"hololeap@protonmail.com","authorname":"hololeap","body":"Signed-off-by: hololeap <hololeap@protonmail.com>\nSigned-off-by: Sam James <sam@gentoo.org>","commitid":"1c729628b49243c4cfbc898c5bf213316b62f78f","committime":"2023-10-03T05:11:33","packageid":75210,"repoid":1,"summary":"*\/*: Update EAPI to 8 for haskell packages"},{"authoremail":"repomirrorci@gentoo.org","authorname":"Repository mirror & CI","commitid":"09795a64377d042e0f945bd7836469c4edb8b06d","committime":"2023-03-17T18:32:02","packageid":75210,"repoid":1,"summary":"Merge updates from master"},{"authoremail":"hololeap@users.noreply.github.com","authorname":"hololeap","body":"Signed-off-by: hololeap <hololeap@users.noreply.github.com>\nSigned-off-by: Sam James <sam@gentoo.org>","commitid":"a15b50631a101ef0c778d6e53de4b7b98a745d4b","committime":"2023-03-15T23:33:59","packageid":75210,"repoid":1,"summary":"dev-haskell\/http-media: Stabilize for amd64"},{"authoremail":"repomirrorci@gentoo.org","authorname":"Repository mirror & CI","commitid":"8cec7f664792c2c840c62c97223030ff4638c9f6","committime":"2022-10-06T06:18:50","packageid":75210,"repoid":1,"summary":"Merge updates from master"},{"authoremail":"matoro@users.noreply.github.com","authorname":"matoro","body":"Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>","commitid":"212677db69703f94c094c3031640d9fe8cb098a2","committime":"2022-09-17T02:25:20","packageid":75210,"repoid":1,"summary":"dev-haskell\/http-media: keyword 0.8.0.0 for ~riscv"},{"authoremail":"repomirrorci@gentoo.org","authorname":"Repository mirror & CI","commitid":"3b9077196f6a24de52bf7c4ebd1d1efba6766cc7","committime":"2022-08-31T21:46:43","packageid":75210,"repoid":1,"summary":"Merge updates from master"},{"authoremail":"matoro@users.noreply.github.com","authorname":"matoro","body":"Thanks-to: Marcus Comstedt <marcus@mc.pp.se>\nSigned-off-by: Sam James <sam@gentoo.org>","commitid":"8cefe252d60609e7a86a297f021a2fe764bb95bb","committime":"2022-08-26T23:43:41","packageid":75210,"repoid":1,"summary":"dev-haskell\/http-media: keyword 0.8.0.0 for ~arm64"},{"authoremail":"repomirrorci@gentoo.org","authorname":"Repository mirror & CI","commitid":"e901e8517e4a6d532fa8ec583040d1691abb3ee4","committime":"2022-07-22T22:31:45","packageid":75210,"repoid":1,"summary":"Merge updates from master"},{"authoremail":"matoro@users.noreply.github.com","authorname":"matoro","body":"Signed-off-by: matoro <matoro@users.noreply.github.com>\nSigned-off-by: Sam James <sam@gentoo.org>","commitid":"a2b398c0416b0105ff17dee213ee61663448f790","committime":"2022-07-12T20:37:36","packageid":75210,"repoid":1,"summary":"dev-haskell\/http-media: new package, add 0.8.0.0"}],"dependencies":[{"block":false,"categoryid":433,"description":"Colourise Haskell code","ebuildids":[756959],"firstseen":"2010-05-04T00:54:45.661860","maintainer":"haskell@gentoo.org","name":"hscolour","packageid":45677},{"block":false,"categoryid":433,"description":"A framework for packaging Haskell software","ebuildids":[756959],"firstseen":"2010-05-04T00:54:45.661860","maintainer":"haskell@gentoo.org","name":"cabal","packageid":47777},{"block":false,"categoryid":433,"description":"Framework for running and organising tests, with HUnit and QuickCheck support","ebuildids":[756959,756959],"firstseen":"2010-05-04T00:54:45.661860","maintainer":"haskell@gentoo.org","maintainername":"Gentoo Haskell","name":"test-framework","packageid":49046},{"block":false,"categoryid":433,"description":"QuickCheck-2 support for the test-framework package","ebuildids":[756959,756959],"firstseen":"2010-05-04T00:54:45.661860","maintainer":"haskell@gentoo.org","maintainername":"Gentoo Haskell","name":"test-framework-quickcheck2","packageid":50660},{"block":false,"categoryid":433,"description":"Support for reading and writing UTF8 Strings","ebuildids":[756959,756959],"firstseen":"2010-05-04T00:54:45.661860","maintainer":"haskell@gentoo.org","name":"utf8-string","packageid":51111},{"block":false,"categoryid":433,"description":"Automatic testing of Haskell programs","ebuildids":[756959],"firstseen":"2010-05-04T00:54:45.661860","maintainer":"haskell@gentoo.org","maintainername":"Gentoo Haskell","name":"quickcheck","packageid":53163},{"block":false,"categoryid":450,"description":"The Glasgow Haskell Compiler","ebuildids":[756959],"firstseen":"2010-05-04T00:54:45.661860","maintainer":"haskell@gentoo.org","maintainername":"Gentoo Haskell","name":"ghc","packageid":55607},{"block":false,"categoryid":433,"description":"Case insensitive string comparison","ebuildids":[756959,756959],"firstseen":"2013-05-26T13:36:35.142388","maintainer":"haskell@gentoo.org","maintainername":"Gentoo Haskell","name":"case-insensitive","packageid":60785,"summary":"The module @Data.CaseInsensitive@ provides the 'CI' type constructor which can be parameterised by a string-like type like: 'String', 'ByteString', 'Text', etc.. Comparisons of values of the resulting type will be insensitive to cases."}],"depending":[{"block":false,"categoryid":433,"description":"A family of combinators for defining webservices APIs","ebuildids":[756997,756997,756997,756997,804233,804233,804233,804233],"firstseen":"2022-07-22T23:44:09.060532","name":"servant","packageid":75218},{"block":false,"categoryid":433,"description":"A family of combinators for defining webservices APIs and serving them","ebuildids":[756998,756998,756998,756998,804234,804234,804234,804234],"firstseen":"2022-07-22T23:44:09.060532","name":"servant-server","packageid":75219}],"ebuilds":[{"archs":["~amd64","~arm64","~ppc64","~riscv","~x86"],"ebuildid":756959,"firstseen":"2022-07-22T23:44:09.060532","license":"MIT","moddate":"2026-03-30T13:49:22","packageid":75210,"repoid":1,"slot":"0\/0.8.0.0","uses":["doc","hscolour","profile","test"],"version":"0.8.0.0"}],"masks":[],"package":{"categoryid":433,"description":"Processing HTTP Content-Type and Accept headers","firstseen":"2022-07-22T23:44:09.060532","name":"http-media","packageid":75210,"summary":"This library is intended to be a comprehensive solution to parsing and selecting quality-indexed values in HTTP headers. It is capable of parsing both media types and language parameters from the Accept and Content header families, and can be extended to match against other accept headers as well. Selecting the appropriate header value is achieved by comparing a list of server options against the quality-indexed values supplied by the client. In the following example, the Accept header is parsed and then matched against a list of server options to serve the appropriate media using 'mapAcceptMedia': > getHeader >>= maybe send406Error sendResourceWith . mapAcceptMedia > [ (\"text\/html\", asHtml) > , (\"application\/json\", asJson) > ] Similarly, the Content-Type header can be used to produce a parser for request bodies based on the given content type with 'mapContentMedia': > getContentType >>= maybe send415Error readRequestBodyWith . mapContentMedia > [ (\"application\/json\", parseJson) > , (\"text\/plain\", parseText) > ] The API is agnostic to your choice of server."},"rdependencies":[{"block":false,"categoryid":433,"description":"Support for reading and writing UTF8 Strings","ebuildids":[756959,756959],"firstseen":"2010-05-04T00:54:45.661860","maintainer":"haskell@gentoo.org","name":"utf8-string","packageid":51111},{"block":false,"categoryid":450,"description":"The Glasgow Haskell Compiler","ebuildids":[756959,756959],"firstseen":"2010-05-04T00:54:45.661860","maintainer":"haskell@gentoo.org","maintainername":"Gentoo Haskell","name":"ghc","packageid":55607},{"block":false,"categoryid":433,"description":"Case insensitive string comparison","ebuildids":[756959,756959],"firstseen":"2013-05-26T13:36:35.142388","maintainer":"haskell@gentoo.org","maintainername":"Gentoo Haskell","name":"case-insensitive","packageid":60785,"summary":"The module @Data.CaseInsensitive@ provides the 'CI' type constructor which can be parameterised by a string-like type like: 'String', 'ByteString', 'Text', etc.. Comparisons of values of the resulting type will be insensitive to cases."}],"repos":[{"branch":"master","lastcommit":"1f58741385367db432e79500a838ced67b2a773d","name":"gentoo","path":"\/usr\/portage","repoid":1,"upstream":"origin"}],"tracked":false,"urls":["https:\/\/github.com\/zmthy\/http-media"],"uses":[{"description":"Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally","isdefault":false,"use":"doc"},{"description":"Include coloured haskell sources to generated documentation (dev-haskell\/hscolour)","isdefault":false,"use":"hscolour"},{"description":"Add support for software performance analysis (will likely vary from ebuild to ebuild)","isdefault":false,"use":"profile"},{"description":"Enable dependencies and\/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)","isdefault":false,"use":"test"}]}