forked from pool/ghc-http-api-data
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| b1b3f7e54c | |||
| 684ccdf4eb | |||
| 8b742d102d | |||
| ccee0df616 | |||
| cf165d4d1a | |||
| 8c28910b0a |
@@ -1,3 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 31 23:31:38 UTC 2025 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update http-api-data to version 0.6.2.
|
||||||
|
0.6.2
|
||||||
|
|
||||||
|
* Support GHC-9.12
|
||||||
|
* Require `cookie-0.5.1`
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 2 15:48:07 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update http-api-data to version 0.6.1 revision 1.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 10:04:17 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update http-api-data to version 0.6.1.
|
||||||
|
0.6.1
|
||||||
|
|
||||||
|
* Require at least GHC-8.6
|
||||||
|
* Support `cookie-0.5.0`, see [#137](https://github.com/fizruk/http-api-data/pull/137).
|
||||||
|
|
||||||
|
Note that `cookie-0.5.0`'s parser now removes double quotes around cookie values.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 11 11:42:57 UTC 2023 - Peter Simons <psimons@suse.com>
|
Wed Oct 11 11:42:57 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-http-api-data
|
# spec file for package ghc-http-api-data
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -20,13 +20,12 @@
|
|||||||
%global pkgver %{pkg_name}-%{version}
|
%global pkgver %{pkg_name}-%{version}
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.6
|
Version: 0.6.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Converting to/from HTTP API data like URL pieces, headers and query parameters
|
Summary: Converting to/from HTTP API data like URL pieces, headers and query parameters
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-base-devel
|
BuildRequires: ghc-base-devel
|
||||||
BuildRequires: ghc-base-prof
|
BuildRequires: ghc-base-prof
|
||||||
@@ -101,7 +100,6 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
|||||||
3
http-api-data-0.6.2.tar.gz
Normal file
3
http-api-data-0.6.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:dc84a9ff403922f03bdc497cedee145fdd0058b1bb47be59cf714460eaec8234
|
||||||
|
size 20873
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:74904382dfd0774a34fef881d895afafdb856bd57f162db275cfe550a1dc1346
|
|
||||||
size 20775
|
|
||||||
@@ -1,105 +0,0 @@
|
|||||||
cabal-version: 1.12
|
|
||||||
name: http-api-data
|
|
||||||
version: 0.6
|
|
||||||
x-revision: 1
|
|
||||||
|
|
||||||
synopsis: Converting to/from HTTP API data like URL pieces, headers and query parameters.
|
|
||||||
category: Web
|
|
||||||
description:
|
|
||||||
This package defines typeclasses used for converting Haskell data types to and from HTTP API data.
|
|
||||||
.
|
|
||||||
Please see README.md
|
|
||||||
|
|
||||||
license: BSD3
|
|
||||||
license-file: LICENSE
|
|
||||||
author: Nickolay Kudasov <nickolay.kudasov@gmail.com>
|
|
||||||
maintainer: Nickolay Kudasov <nickolay.kudasov@gmail.com>
|
|
||||||
homepage: http://github.com/fizruk/http-api-data
|
|
||||||
stability: unstable
|
|
||||||
build-type: Simple
|
|
||||||
|
|
||||||
extra-source-files:
|
|
||||||
test/*.hs
|
|
||||||
CHANGELOG.md
|
|
||||||
README.md
|
|
||||||
|
|
||||||
tested-with:
|
|
||||||
GHC==8.2.2,
|
|
||||||
GHC==8.4.4,
|
|
||||||
GHC==8.6.5,
|
|
||||||
GHC==8.8.4,
|
|
||||||
GHC==8.10.7,
|
|
||||||
GHC==9.0.2,
|
|
||||||
GHC==9.2.8,
|
|
||||||
GHC==9.4.7,
|
|
||||||
GHC==9.6.3,
|
|
||||||
GHC==9.8.1
|
|
||||||
|
|
||||||
flag use-text-show
|
|
||||||
description: Use text-show library for efficient ToHttpApiData implementations.
|
|
||||||
default: False
|
|
||||||
manual: True
|
|
||||||
|
|
||||||
library
|
|
||||||
hs-source-dirs: src/
|
|
||||||
|
|
||||||
-- GHC bundled
|
|
||||||
build-depends: base >= 4.10.1.0 && < 4.20
|
|
||||||
, bytestring >= 0.10.8.2 && < 0.13
|
|
||||||
, containers >= 0.5.10.2 && < 0.7
|
|
||||||
, text >= 1.2.3.0 && < 1.3 || >=2.0 && <2.2
|
|
||||||
, transformers >= 0.5.2.0 && < 0.7
|
|
||||||
|
|
||||||
-- other-dependencies
|
|
||||||
build-depends:
|
|
||||||
cookie >= 0.4.3 && < 0.5
|
|
||||||
, hashable >= 1.2.7.0 && < 1.5
|
|
||||||
, http-types >= 0.12.3 && < 0.13
|
|
||||||
, text-iso8601 >= 0.1 && < 0.2
|
|
||||||
, tagged >= 0.8.5 && < 0.9
|
|
||||||
, time-compat >= 1.9.5 && < 1.10
|
|
||||||
, unordered-containers >= 0.2.10.0 && < 0.3
|
|
||||||
, uuid-types >= 1.0.3 && < 1.1
|
|
||||||
|
|
||||||
if flag(use-text-show)
|
|
||||||
cpp-options: -DUSE_TEXT_SHOW
|
|
||||||
build-depends: text-show >= 3.8.2 && <3.11
|
|
||||||
|
|
||||||
exposed-modules:
|
|
||||||
Web.HttpApiData
|
|
||||||
Web.FormUrlEncoded
|
|
||||||
Web.Internal.FormUrlEncoded
|
|
||||||
Web.Internal.HttpApiData
|
|
||||||
ghc-options: -Wall
|
|
||||||
default-language: Haskell2010
|
|
||||||
|
|
||||||
test-suite spec
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: Spec.hs
|
|
||||||
other-modules:
|
|
||||||
Web.Internal.FormUrlEncodedSpec
|
|
||||||
Web.Internal.HttpApiDataSpec
|
|
||||||
Web.Internal.TestInstances
|
|
||||||
hs-source-dirs: test
|
|
||||||
ghc-options: -Wall
|
|
||||||
default-language: Haskell2010
|
|
||||||
build-tool-depends: hspec-discover:hspec-discover >= 2.7.1 && <2.12
|
|
||||||
-- inherited depndencies
|
|
||||||
build-depends:
|
|
||||||
base
|
|
||||||
, bytestring
|
|
||||||
, cookie
|
|
||||||
, http-api-data
|
|
||||||
, text
|
|
||||||
, time-compat
|
|
||||||
, unordered-containers
|
|
||||||
, uuid-types
|
|
||||||
|
|
||||||
build-depends: HUnit >= 1.6.0.0 && <1.7
|
|
||||||
, hspec >= 2.7.1 && <2.12
|
|
||||||
, QuickCheck >= 2.13.1 && <2.15
|
|
||||||
, quickcheck-instances >= 0.3.25.2 && <0.4
|
|
||||||
|
|
||||||
source-repository head
|
|
||||||
type: git
|
|
||||||
location: https://github.com/fizruk/http-api-data
|
|
||||||
Reference in New Issue
Block a user