This commit is contained in:
parent
fe48704980
commit
346990286c
|
@ -5,3 +5,4 @@
|
||||||
/http-conduit-2.3.7.3.tar.gz
|
/http-conduit-2.3.7.3.tar.gz
|
||||||
/http-conduit-2.3.7.4.tar.gz
|
/http-conduit-2.3.7.4.tar.gz
|
||||||
/http-conduit-2.3.8.tar.gz
|
/http-conduit-2.3.8.tar.gz
|
||||||
|
/http-conduit-2.3.8.1.tar.gz
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# testsuite missing deps: wai-conduit
|
# testsuite missing deps: wai-conduit
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 2.3.8
|
Version: 2.3.8.1
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
Summary: HTTP client package with conduit interface and HTTPS support
|
Summary: HTTP client package with conduit interface and HTTPS support
|
||||||
|
|
||||||
|
@ -15,9 +15,11 @@ License: BSD-3-Clause
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
# Begin cabal-rpm sources:
|
# Begin cabal-rpm sources:
|
||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
|
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||||
# End cabal-rpm sources
|
# End cabal-rpm sources
|
||||||
|
|
||||||
# Begin cabal-rpm deps:
|
# Begin cabal-rpm deps:
|
||||||
|
BuildRequires: dos2unix
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc-aeson-devel
|
BuildRequires: ghc-aeson-devel
|
||||||
|
@ -98,6 +100,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||||
%prep
|
%prep
|
||||||
# Begin cabal-rpm setup:
|
# Begin cabal-rpm setup:
|
||||||
%setup -q -n %{pkgver}
|
%setup -q -n %{pkgver}
|
||||||
|
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
|
||||||
# End cabal-rpm setup
|
# End cabal-rpm setup
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,96 @@
|
||||||
|
cabal-version: >= 1.10
|
||||||
|
name: http-conduit
|
||||||
|
version: 2.3.8.1
|
||||||
|
x-revision: 1
|
||||||
|
license: BSD3
|
||||||
|
license-file: LICENSE
|
||||||
|
author: Michael Snoyman <michael@snoyman.com>
|
||||||
|
maintainer: Michael Snoyman <michael@snoyman.com>
|
||||||
|
synopsis: HTTP client package with conduit interface and HTTPS support.
|
||||||
|
description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/http-conduit>.
|
||||||
|
category: Web, Conduit
|
||||||
|
stability: Stable
|
||||||
|
build-type: Simple
|
||||||
|
homepage: https://github.com/snoyberg/http-client
|
||||||
|
extra-source-files: test/main.hs
|
||||||
|
, test/CookieTest.hs
|
||||||
|
, multipart-example.bin
|
||||||
|
, nyan.gif
|
||||||
|
, certificate.pem
|
||||||
|
, key.pem
|
||||||
|
, README.md
|
||||||
|
, ChangeLog.md
|
||||||
|
|
||||||
|
flag aeson
|
||||||
|
manual: True
|
||||||
|
description: Enable the dependency on aeson
|
||||||
|
default: True
|
||||||
|
|
||||||
|
library
|
||||||
|
default-language: Haskell2010
|
||||||
|
build-depends: base >= 4.10 && < 5
|
||||||
|
, attoparsec
|
||||||
|
, bytestring >= 0.9.1.4
|
||||||
|
, transformers >= 0.2
|
||||||
|
, resourcet >= 1.1
|
||||||
|
, conduit >= 1.2
|
||||||
|
, conduit-extra >= 1.1
|
||||||
|
, http-types >= 0.7
|
||||||
|
, http-client >= 0.5.13 && < 0.8
|
||||||
|
, http-client-tls >= 0.3 && < 0.4
|
||||||
|
, mtl
|
||||||
|
, unliftio-core
|
||||||
|
|
||||||
|
if flag(aeson)
|
||||||
|
build-depends: aeson >= 0.8 && < 2.2
|
||||||
|
|
||||||
|
if !impl(ghc>=7.9)
|
||||||
|
build-depends: void >= 0.5.5
|
||||||
|
exposed-modules: Network.HTTP.Conduit
|
||||||
|
Network.HTTP.Client.Conduit
|
||||||
|
Network.HTTP.Simple
|
||||||
|
ghc-options: -Wall
|
||||||
|
|
||||||
|
test-suite test
|
||||||
|
default-language: Haskell2010
|
||||||
|
main-is: main.hs
|
||||||
|
other-modules: CookieTest
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
hs-source-dirs: test
|
||||||
|
|
||||||
|
ghc-options: -Wall
|
||||||
|
cpp-options: -DDEBUG
|
||||||
|
build-depends: base >= 4 && < 5
|
||||||
|
, HUnit
|
||||||
|
, hspec >= 1.3
|
||||||
|
, data-default-class
|
||||||
|
, warp-tls
|
||||||
|
, tls < 1.5 || >= 1.5.2
|
||||||
|
, time
|
||||||
|
, blaze-builder
|
||||||
|
, bytestring
|
||||||
|
, text
|
||||||
|
, transformers
|
||||||
|
, conduit >= 1.1
|
||||||
|
, utf8-string
|
||||||
|
, case-insensitive
|
||||||
|
, unliftio
|
||||||
|
, wai >= 3.0 && < 3.3
|
||||||
|
, warp >= 3.0.0.2 && < 3.4
|
||||||
|
, wai-conduit
|
||||||
|
, http-types
|
||||||
|
, cookie
|
||||||
|
, http-client
|
||||||
|
, http-conduit
|
||||||
|
, conduit-extra
|
||||||
|
, streaming-commons
|
||||||
|
, temporary
|
||||||
|
, resourcet
|
||||||
|
, network
|
||||||
|
|
||||||
|
if flag(aeson)
|
||||||
|
build-depends: aeson
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: git://github.com/snoyberg/http-client.git
|
2
sources
2
sources
|
@ -1 +1 @@
|
||||||
SHA512 (http-conduit-2.3.8.tar.gz) = 44c337f1a0a0ec74a5d6e4e28a3aa5a32609c3a4da9424e99aedc2a8db67fc4684ef10cf82d6bda0761c7ffba4f0222e683946ab6dd8de1ab8225a40cc14cf66
|
SHA512 (http-conduit-2.3.8.1.tar.gz) = 959f9c0ae32b38d69002d7ac1550a02e9475bed4e756250e0313b7bb822ed9a7ce7e194f2ee57c38122600baf5e4741e32a30a123829ae28fe98bd39b969397d
|
||||||
|
|
Loading…
Reference in New Issue