osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-lens-aeson revision:16, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-lens-aeson?expand=0&rev=14
This commit is contained in:
Peter Simons 2022-02-10 14:36:53 +00:00 committed by Git OBS Bridge
parent 22c1c19aae
commit 7dd0035d94
3 changed files with 64 additions and 3 deletions

View File

@ -1,7 +1,7 @@
-------------------------------------------------------------------
Tue Nov 16 19:52:29 UTC 2021 - psimons@suse.com
Thu Feb 10 14:24:54 UTC 2022 - psimons@suse.com
- Update lens-aeson to version 1.1.3.
- Update lens-aeson to version 1.1.3 revision 1.
1.1.3 [2021.11.16]
------------------
* Drop support for pre-8.0 versions of GHC.

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-lens-aeson
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -24,6 +24,7 @@ Summary: Law-abiding lenses for aeson
License: MIT
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-aeson-devel
BuildRequires: ghc-attoparsec-devel
@ -51,6 +52,7 @@ 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

59
lens-aeson.cabal Normal file
View File

@ -0,0 +1,59 @@
name: lens-aeson
category: Numeric
version: 1.1.3
x-revision: 1
license: MIT
cabal-version: >= 1.10
license-file: LICENSE
author: Edward A. Kmett
maintainer: Edward A. Kmett <ekmett@gmail.com>
stability: provisional
homepage: http://github.com/lens/lens-aeson/
bug-reports: http://github.com/lens/lens-aeson/issues
copyright:
Copyright (C) 2012 Paul Wilson
Copyright (C) 2013 Edward A. Kmett
build-type: Simple
tested-with: GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.1
, GHC == 9.2.1
synopsis: Law-abiding lenses for aeson
description: Law-abiding lenses for aeson.
extra-source-files:
.gitignore
.hlint.yaml
.vim.custom
AUTHORS.markdown
README.markdown
CHANGELOG.markdown
source-repository head
type: git
location: https://github.com/lens/lens-aeson
library
build-depends:
base >= 4.9 && < 5,
lens >= 4.4 && < 6,
text >= 0.11.1.10 && < 2.1,
vector >= 0.9 && < 0.13,
unordered-containers >= 0.2.3 && < 0.3,
attoparsec >= 0.10 && < 0.15,
bytestring >= 0.9 && < 0.12,
-- TODO: Eventually, we should bump the lower version bounds to >=2 so that
-- we can remove some CPP in Data.Aeson.Lens. See #38.
aeson >= 0.7.0.5 && < 2.1,
scientific >= 0.3.2 && < 0.4
exposed-modules:
Data.Aeson.Lens
ghc-options: -Wall -Wtabs -O2
hs-source-dirs: src
default-language: Haskell2010