osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-http-client-tls revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-http-client-tls?expand=0&rev=41
This commit is contained in:
parent
42a85e6f76
commit
fc8a69c433
@ -26,6 +26,7 @@ License: MIT
|
||||
Group: Development/Libraries/Haskell
|
||||
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/1.cabal#/%{pkg_name}.cabal
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-case-insensitive-devel
|
||||
@ -65,6 +66,7 @@ files.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%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…
Reference in New Issue
Block a user