forked from pool/ghc-http-client-tls
Accepting request 710629 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/710629 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-http-client-tls?expand=0&rev=15
This commit is contained in:
commit
d11cc48bd8
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 11 14:29:11 UTC 2019 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update Cabal file for more accurate build dependencies.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 20 11:31:37 UTC 2018 - Peter Simons <psimons@suse.com>
|
Sat Oct 20 11:31:37 UTC 2018 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-http-client-tls
|
# spec file for package ghc-http-client-tls
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -26,6 +26,7 @@ License: MIT
|
|||||||
Group: Development/Libraries/Haskell
|
Group: Development/Libraries/Haskell
|
||||||
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-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-case-insensitive-devel
|
BuildRequires: ghc-case-insensitive-devel
|
||||||
@ -65,6 +66,7 @@ files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
59
http-client-tls.cabal
Normal file
59
http-client-tls.cabal
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
name: http-client-tls
|
||||||
|
version: 0.3.5.3
|
||||||
|
x-revision: 1
|
||||||
|
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 && < 5
|
||||||
|
, data-default-class
|
||||||
|
, http-client >= 0.5.0
|
||||||
|
, connection >= 0.2.5
|
||||||
|
, network >= 2.6
|
||||||
|
, tls >= 1.2
|
||||||
|
, bytestring
|
||||||
|
, case-insensitive
|
||||||
|
, transformers
|
||||||
|
, http-types
|
||||||
|
, cryptonite
|
||||||
|
, memory
|
||||||
|
, exceptions
|
||||||
|
, containers
|
||||||
|
, text
|
||||||
|
, network-uri >= 2.6
|
||||||
|
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
|
||||||
|
, connection
|
||||||
|
, hspec
|
||||||
|
, http-client
|
||||||
|
, http-client-tls
|
||||||
|
, http-types
|
||||||
|
|
||||||
|
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
|
Loading…
x
Reference in New Issue
Block a user