11
0

4 Commits

3 changed files with 74 additions and 1 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Mar 26 16:42:07 UTC 2025 - Peter Simons <psimons@suse.com>
- Update http-client-tls to version 0.3.6.4 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Wed Mar 26 11:01:34 UTC 2025 - Peter Simons <psimons@suse.com>
- Update http-client-tls to version 0.3.6.4 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sun Oct 27 07:49:17 UTC 2024 - Peter Simons <psimons@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ghc-http-client-tls
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@ Summary: Http-client backend using the connection package and tls library
License: MIT
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
@@ -99,6 +100,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build

59
http-client-tls.cabal Normal file
View File

@@ -0,0 +1,59 @@
name: http-client-tls
version: 0.3.6.4
x-revision: 2
synopsis: http-client backend using the connection package and tls library
description: Hackage documentation generation is not reliable. For up to date documentation, please see: <https://www.stackage.org/package/http-client-tls>.
homepage: https://github.com/snoyberg/http-client
license: MIT
license-file: LICENSE
author: Michael Snoyman
maintainer: michael@snoyman.com
category: Network
build-type: Simple
cabal-version: >=1.10
extra-source-files: README.md
ChangeLog.md
library
exposed-modules: Network.HTTP.Client.TLS
other-extensions: ScopedTypeVariables
build-depends: base >= 4.10 && < 5
, data-default
, http-client >= 0.7.11
, crypton-connection
, network
, tls (>=1.2 && < 2.1) || >= 2.1.2
, bytestring
, case-insensitive
, transformers
, http-types
, crypton
, memory
, exceptions
, containers
, text
, network-uri
default-language: Haskell2010
ghc-options: -Wall
test-suite spec
main-is: Spec.hs
type: exitcode-stdio-1.0
hs-source-dirs: test
default-language: Haskell2010
build-depends: base
, hspec
, http-client
, http-client-tls
, http-types
, crypton-connection
benchmark benchmark
main-is: Bench.hs
type: exitcode-stdio-1.0
hs-source-dirs: bench
default-language: Haskell2010
build-depends: base
, gauge
, http-client
, http-client-tls