Accepting request 987037 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/987037
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-generic-lens-core?expand=0&rev=7
This commit is contained in:
Richard Brown 2022-08-01 19:29:47 +00:00 committed by Git OBS Bridge
commit 9b93f0ec6e
3 changed files with 79 additions and 0 deletions

71
generic-lens-core.cabal Normal file
View File

@ -0,0 +1,71 @@
name: generic-lens-core
version: 2.2.1.0
x-revision: 1
synopsis: Generically derive traversals, lenses and prisms.
description: This library uses GHC.Generics to derive efficient optics (traversals, lenses and prisms) for algebraic data types in a type-directed way, with a focus on good type inference and error messages when possible.
.
This package is the shared internal logic of the
@<https://hackage.haskell.org/package/generic-lens generic-lens>@
and
@<https://hackage.haskell.org/package/generic-optics generic-optics>@
libraries.
homepage: https://github.com/kcsongor/generic-lens
license: BSD3
license-file: LICENSE
author: Csongor Kiss
maintainer: kiss.csongor.kiss@gmail.com
category: Generics, Records, Lens
build-type: Simple
cabal-version: >= 1.10
Tested-With: GHC == 8.4.1, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.3, GHC == 9.0.1, GHC == 9.2.1
extra-source-files: ChangeLog.md
library
exposed-modules: Data.Generics.Internal.GenericN
, Data.Generics.Internal.Profunctor.Lens
, Data.Generics.Internal.Profunctor.Prism
, Data.Generics.Internal.Profunctor.Iso
, Data.Generics.Internal.VL.Traversal
, Data.GenericLens.Internal
, Data.Generics.Internal.Families
, Data.Generics.Internal.Families.Changing
, Data.Generics.Internal.Families.Collect
, Data.Generics.Internal.Families.Has
, Data.Generics.Internal.Errors
, Data.Generics.Internal.Void
, Data.Generics.Internal.Wrapped
, Data.Generics.Sum.Internal.Constructors
, Data.Generics.Sum.Internal.Typed
, Data.Generics.Sum.Internal.Subtype
, Data.Generics.Product.Internal.Param
, Data.Generics.Product.Internal.Types
, Data.Generics.Product.Internal.Fields
, Data.Generics.Product.Internal.Typed
, Data.Generics.Product.Internal.Positions
, Data.Generics.Product.Internal.GLens
, Data.Generics.Product.Internal.Subtype
, Data.Generics.Product.Internal.HList
build-depends: base >= 4.11 && < 5
, text >= 1.2 && < 1.3 || >= 2.0 && < 2.1
, indexed-profunctors >= 0.1 && < 1.0
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
source-repository head
type: git
location: https://github.com/kcsongor/generic-lens

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun May 8 17:00:32 UTC 2022 - Peter Simons <psimons@suse.com>
- Update generic-lens-core to version 2.2.1.0 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sat Jan 22 22:52:56 UTC 2022 - Peter Simons <psimons@suse.com>

View File

@ -24,6 +24,7 @@ Summary: Generically derive traversals, lenses and prisms
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/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-indexed-profunctors-devel
BuildRequires: ghc-rpm-macros
@ -53,6 +54,7 @@ files.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build