1
0

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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-lens-aeson?expand=0&rev=10
This commit is contained in:
Ondřej Súkup 2021-03-26 12:22:24 +00:00 committed by Git OBS Bridge
parent 620cec2100
commit fb33e94372
3 changed files with 67 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 23 12:19:07 UTC 2021 - psimons@suse.com
- Update lens-aeson to version 1.1.1 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Fri Feb 19 23:03:03 UTC 2021 - psimons@suse.com

View File

@ -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.1
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 == 7.4.2
, GHC == 7.6.3
, GHC == 7.8.4
, 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
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.5 && < 5,
lens >= 4.4 && < 6,
text >= 0.11.1.10 && < 1.3,
vector >= 0.9 && < 0.13,
unordered-containers >= 0.2.3 && < 0.3,
attoparsec >= 0.10 && < 0.15,
bytestring >= 0.9 && < 0.12,
aeson >= 0.7.0.5 && < 1.6,
scientific >= 0.3.2 && < 0.4
exposed-modules:
Data.Aeson.Lens
ghc-options: -Wall -fwarn-tabs -O2
hs-source-dirs: src
default-language: Haskell2010