osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-cborg-json revision:10, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-cborg-json?expand=0&rev=13
This commit is contained in:
Ondřej Súkup 2021-11-09 08:31:51 +00:00 committed by Git OBS Bridge
parent 2d4eaac9ea
commit 58c1aed5ba
5 changed files with 12 additions and 70 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ab68a2457cb71a76699d7a8df07a880ea70c51d2c1a891b12669ca9ccfa7517b
size 4075

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3d84461e9cb3f549844475ab71b9889a3768c5896f1d7c7aaa6c7e847b351db
size 4256

View File

@ -1,64 +0,0 @@
name: cborg-json
version: 0.2.2.0
x-revision: 3
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 == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.3, GHC == 8.10.1, GHC == 9.0.1
library
exposed-modules: Codec.CBOR.JSON
ghc-options: -Wall
build-depends:
base >=4.7 && < 4.16,
aeson >=0.7 && <1.6,
aeson-pretty >=0.8 && <0.9,
unordered-containers >=0.2 && <0.3,
scientific >=0.3 && <0.4,
text >=1.1 && <1.3,
vector >=0.10 && <0.13,
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.6 && < 4.16,
cborg ,
cborg-json ,
aeson ,
bytestring >= 0.10.4 && < 0.12,
criterion >= 1.0 && < 1.6,
deepseq >= 1.0 && < 1.5,
directory,
process,
zlib >= 0.5 && < 0.7

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Nov 1 08:31:11 UTC 2021 - psimons@suse.com
- Update cborg-json to version 0.2.3.0.
## 0.2.3.0 -- 2021-10-31
* Support for `aeson-2.0`, GHC 9.0, GHC 9.2, and `bytestring-0.11`.
-------------------------------------------------------------------
Sun May 9 11:09:57 UTC 2021 - psimons@suse.com

View File

@ -18,13 +18,12 @@
%global pkg_name cborg-json
Name: ghc-%{pkg_name}
Version: 0.2.2.0
Version: 0.2.3.0
Release: 0
Summary: A library for encoding JSON as CBOR
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/3.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-aeson-pretty-devel
@ -52,7 +51,6 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build