Accepting request 1188634 from devel:languages:haskell

version update

OBS-URL: https://build.opensuse.org/request/show/1188634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-crypton-connection?expand=0&rev=3
This commit is contained in:
Ana Guerrero 2024-07-22 15:16:15 +00:00 committed by Git OBS Bridge
commit e7f96a6e20
3 changed files with 53 additions and 0 deletions

45
crypton-connection.cabal Normal file
View File

@ -0,0 +1,45 @@
Name: crypton-connection
Version: 0.3.2
x-revision: 1
Description:
Simple network library for all your connection need.
.
Features: Really simple to use, SSL/TLS, SOCKS.
.
This library provides a very simple api to create sockets
to a destination with the choice of SSL/TLS, and SOCKS.
License: BSD3
License-file: LICENSE
Copyright: Vincent Hanquez <vincent@snarc.org>
Author: Vincent Hanquez <vincent@snarc.org>
Maintainer: Kazu Yamamoto <kazu@iij.ad.jp>
Synopsis: Simple and easy network connections API
Build-Type: Simple
Category: Network
stability: experimental
Cabal-Version: >=1.10
Homepage: https://github.com/kazu-yamamoto/crypton-connection
extra-source-files: README.md
CHANGELOG.md
Library
Default-Language: Haskell2010
Build-Depends: base >= 3 && < 5
, basement
, bytestring
, containers
, data-default-class
, network >= 2.6.3
, tls >= 1.7 && <2.1.0
, socks >= 0.6
, crypton-x509 >= 1.5
, crypton-x509-store >= 1.5
, crypton-x509-system >= 1.5
, crypton-x509-validation >= 1.5
Exposed-modules: Network.Connection
Other-modules: Network.Connection.Types
ghc-options: -Wall
source-repository head
type: git
location: https://github.com/kazu-yamamoto/crypton-connection

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jun 29 21:31:10 UTC 2024 - Peter Simons <psimons@suse.com>
- Update crypton-connection to version 0.3.2 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Mon Feb 5 07:09:15 UTC 2024 - Peter Simons <psimons@suse.com>

View File

@ -25,6 +25,7 @@ Summary: Simple and easy network connections API
License: BSD-3-Clause
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-base-devel
BuildRequires: ghc-base-prof
@ -90,6 +91,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