osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-connection revision:4, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-connection?expand=0&rev=32
This commit is contained in:
Peter Simons 2019-01-24 10:02:38 +00:00 committed by Git OBS Bridge
parent ca9e9f9871
commit 7007e6b6aa
2 changed files with 46 additions and 0 deletions

44
connection.cabal Normal file
View File

@ -0,0 +1,44 @@
Name: connection
Version: 0.2.8
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: Vincent Hanquez <vincent@snarc.org>
Synopsis: Simple and easy network connections API
Build-Type: Simple
Category: Network
stability: experimental
Cabal-Version: >=1.6
Homepage: http://github.com/vincenthz/hs-connection
extra-source-files: README.md
CHANGELOG.md
Library
Build-Depends: base >= 3 && < 5
, bytestring
, byteable
, containers
, data-default-class
, network >= 2.3 && < 2.9
, tls >= 1.3
, socks >= 0.5.5
, x509 >= 1.5
, x509-store >= 1.5
, x509-system >= 1.5
, 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/vincenthz/hs-connection

View File

@ -25,6 +25,7 @@ License: BSD-3-Clause
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-byteable-devel
BuildRequires: ghc-bytestring-devel
@ -60,6 +61,7 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build