Accepting request 1059057 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/1059057 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-cborg-json?expand=0&rev=9
This commit is contained in:
commit
506db7b6fd
73
cborg-json.cabal
Normal file
73
cborg-json.cabal
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
name: cborg-json
|
||||||
|
version: 0.2.5.0
|
||||||
|
x-revision: 1
|
||||||
|
synopsis: A library for encoding JSON as CBOR
|
||||||
|
description: This package implements the bijection between JSON and
|
||||||
|
CBOR defined in the CBOR specification, RFC 7049.
|
||||||
|
homepage: https://github.com/well-typed/cborg
|
||||||
|
license: BSD3
|
||||||
|
license-file: LICENSE.txt
|
||||||
|
author: Duncan Coutts
|
||||||
|
maintainer: ben@smart-cactus.org
|
||||||
|
bug-reports: https://github.com/well-typed/cborg/issues
|
||||||
|
copyright: 2015-2017 Duncan Coutts,
|
||||||
|
2015-2017 Well-Typed LLP,
|
||||||
|
2015 IRIS Connect Ltd
|
||||||
|
category: Codec
|
||||||
|
build-type: Simple
|
||||||
|
extra-source-files: ChangeLog.md
|
||||||
|
cabal-version: >=1.10
|
||||||
|
tested-with:
|
||||||
|
GHC == 8.4.4,
|
||||||
|
GHC == 8.6.5,
|
||||||
|
GHC == 8.8.3,
|
||||||
|
GHC == 8.10.7,
|
||||||
|
GHC == 9.0.1,
|
||||||
|
GHC == 9.2.2,
|
||||||
|
GHC == 9.4.2
|
||||||
|
|
||||||
|
library
|
||||||
|
exposed-modules: Codec.CBOR.JSON
|
||||||
|
ghc-options: -Wall
|
||||||
|
build-depends:
|
||||||
|
base >=4.11 && < 4.18,
|
||||||
|
aeson >=0.7 && <2.2,
|
||||||
|
aeson-pretty >=0.8 && <0.9,
|
||||||
|
unordered-containers >=0.2 && <0.3,
|
||||||
|
scientific >=0.3 && <0.4,
|
||||||
|
text >=1.1 && <2.1,
|
||||||
|
vector >=0.10 && <0.14,
|
||||||
|
|
||||||
|
cborg ==0.2.*
|
||||||
|
|
||||||
|
hs-source-dirs: src
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
if impl(ghc >= 8.0)
|
||||||
|
ghc-options: -Wcompat -Wnoncanonical-monad-instances
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
benchmark bench
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
hs-source-dirs: bench
|
||||||
|
main-is: Main.hs
|
||||||
|
|
||||||
|
default-language: Haskell2010
|
||||||
|
ghc-options:
|
||||||
|
-Wall -rtsopts -fno-cse -fno-ignore-asserts -fno-warn-orphans -O2
|
||||||
|
|
||||||
|
other-modules:
|
||||||
|
|
||||||
|
build-depends:
|
||||||
|
base >= 4.11 && < 4.18,
|
||||||
|
bytestring >= 0.10.4 && < 0.12,
|
||||||
|
criterion >= 1.0 && < 1.6,
|
||||||
|
deepseq >= 1.0 && < 1.5,
|
||||||
|
zlib >= 0.5 && < 0.7,
|
||||||
|
directory,
|
||||||
|
process,
|
||||||
|
aeson,
|
||||||
|
|
||||||
|
cborg,
|
||||||
|
cborg-json
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 23 23:18:52 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update cborg-json to version 0.2.5.0 revision 1.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 24 16:36:46 UTC 2022 - Peter Simons <psimons@suse.com>
|
Sat Sep 24 16:36:46 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@ Summary: A library for encoding JSON as CBOR
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
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-aeson-devel
|
BuildRequires: ghc-aeson-devel
|
||||||
BuildRequires: ghc-aeson-pretty-devel
|
BuildRequires: ghc-aeson-pretty-devel
|
||||||
@ -51,6 +52,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
Loading…
Reference in New Issue
Block a user