update to 0.5.1.1
This commit is contained in:
parent
f55d95f4d1
commit
7de623f80a
|
@ -4,3 +4,4 @@
|
|||
/sop-core-0.4.0.0.tar.gz
|
||||
/generics-sop-0.5.1.0.tar.gz
|
||||
/sop-core-0.5.0.1.tar.gz
|
||||
/generics-sop-0.5.1.1.tar.gz
|
||||
|
|
|
@ -1,146 +0,0 @@
|
|||
name: generics-sop
|
||||
version: 0.5.1.0
|
||||
x-revision: 1
|
||||
synopsis: Generic Programming using True Sums of Products
|
||||
description:
|
||||
A library to support the definition of generic functions.
|
||||
Datatypes are viewed in a uniform, structured way:
|
||||
the choice between constructors is represented using an n-ary
|
||||
sum, and the arguments of each constructor are represented using
|
||||
an n-ary product.
|
||||
.
|
||||
The module "Generics.SOP" is the main module of this library and contains
|
||||
more detailed documentation.
|
||||
.
|
||||
Since version 0.4.0.0, this package is now based on
|
||||
@<https://hackage.haskell.org/package/sop-core sop-core>@. The core package
|
||||
contains all the functionality of n-ary sums and products, whereas this
|
||||
package provides the datatype-generic programming support on top.
|
||||
.
|
||||
Examples of using this library are provided by the following
|
||||
packages:
|
||||
.
|
||||
* @<https://hackage.haskell.org/package/basic-sop basic-sop>@ basic examples,
|
||||
.
|
||||
* @<https://hackage.haskell.org/package/pretty-sop pretty-sop>@ generic pretty printing,
|
||||
.
|
||||
* @<https://hackage.haskell.org/package/lens-sop lens-sop>@ generically computed lenses,
|
||||
.
|
||||
* @<https://hackage.haskell.org/package/json-sop json-sop>@ generic JSON conversions.
|
||||
.
|
||||
A detailed description of the ideas behind this library is provided by
|
||||
the paper:
|
||||
.
|
||||
* Edsko de Vries and Andres Löh.
|
||||
<http://www.andres-loeh.de/TrueSumsOfProducts True Sums of Products>.
|
||||
Workshop on Generic Programming (WGP) 2014.
|
||||
.
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
author: Edsko de Vries <edsko@well-typed.com>, Andres Löh <andres@well-typed.com>
|
||||
maintainer: andres@well-typed.com
|
||||
category: Generics
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
extra-source-files: CHANGELOG.md doctest.sh
|
||||
tested-with: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.2, GHC == 8.10.1
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/well-typed/generics-sop
|
||||
|
||||
library
|
||||
exposed-modules: Generics.SOP
|
||||
Generics.SOP.GGP
|
||||
Generics.SOP.TH
|
||||
Generics.SOP.Type.Metadata
|
||||
-- exposed via Generics.SOP:
|
||||
Generics.SOP.Instances
|
||||
Generics.SOP.Metadata
|
||||
Generics.SOP.Universe
|
||||
-- re-exported from Data.SOP:
|
||||
Generics.SOP.Dict
|
||||
Generics.SOP.BasicFunctors
|
||||
Generics.SOP.Classes
|
||||
Generics.SOP.Constraint
|
||||
Generics.SOP.NP
|
||||
Generics.SOP.NS
|
||||
Generics.SOP.Sing
|
||||
build-depends: base >= 4.9 && < 4.15,
|
||||
sop-core == 0.5.0.*,
|
||||
template-haskell >= 2.8 && < 2.17,
|
||||
th-abstraction >= 0.3 && < 0.5,
|
||||
ghc-prim >= 0.3 && < 0.7
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
default-extensions: CPP
|
||||
ScopedTypeVariables
|
||||
TypeFamilies
|
||||
RankNTypes
|
||||
TypeOperators
|
||||
GADTs
|
||||
ConstraintKinds
|
||||
MultiParamTypeClasses
|
||||
TypeSynonymInstances
|
||||
FlexibleInstances
|
||||
FlexibleContexts
|
||||
DeriveFunctor
|
||||
DeriveFoldable
|
||||
DeriveTraversable
|
||||
DefaultSignatures
|
||||
KindSignatures
|
||||
DataKinds
|
||||
FunctionalDependencies
|
||||
|
||||
if impl(ghc <8.2)
|
||||
default-extensions: AutoDeriveTypeable
|
||||
|
||||
-- if impl(ghc >= 8.6)
|
||||
-- default-extensions: NoStarIsType
|
||||
other-extensions: PolyKinds
|
||||
UndecidableInstances
|
||||
TemplateHaskell
|
||||
StandaloneDeriving
|
||||
EmptyCase
|
||||
UndecidableSuperClasses
|
||||
|
||||
test-suite generics-sop-examples
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: Example.hs
|
||||
other-modules: HTransExample
|
||||
hs-source-dirs: test
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
build-depends: base >= 4.9 && < 5,
|
||||
generics-sop
|
||||
other-extensions: DeriveGeneric
|
||||
EmptyCase
|
||||
TemplateHaskell
|
||||
ConstraintKinds
|
||||
GADTs
|
||||
DataKinds
|
||||
TypeFamilies
|
||||
FlexibleContexts
|
||||
FlexibleInstances
|
||||
PolyKinds
|
||||
DefaultSignatures
|
||||
FunctionalDependencies
|
||||
MultiParamTypeClasses
|
||||
TypeFamilies
|
||||
|
||||
benchmark generics-sop-bench
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: SOPBench.hs
|
||||
other-modules: SOPBench.Type
|
||||
SOPBench.Roundtrip
|
||||
SOPBench.Eq
|
||||
SOPBench.Show
|
||||
hs-source-dirs: bench
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
build-depends: base >= 4.6 && < 5,
|
||||
criterion,
|
||||
deepseq,
|
||||
generics-sop,
|
||||
template-haskell
|
|
@ -10,9 +10,9 @@
|
|||
%bcond_without tests
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.5.1.0
|
||||
Version: 0.5.1.1
|
||||
# can only be reset when all subpkgs bumped
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: Generic Programming using True Sums of Products
|
||||
|
||||
License: BSD
|
||||
|
@ -20,7 +20,6 @@ Url: https://hackage.haskell.org/package/%{pkg_name}
|
|||
# Begin cabal-rpm sources:
|
||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{sopcore}/%{sopcore}.tar.gz
|
||||
Source2: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||
# End cabal-rpm sources
|
||||
|
||||
# Begin cabal-rpm deps:
|
||||
|
@ -116,7 +115,6 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q -n %{pkgver} -a1
|
||||
cp -bp %{SOURCE2} %{pkg_name}.cabal
|
||||
# End cabal-rpm setup
|
||||
|
||||
|
||||
|
@ -163,6 +161,9 @@ cp -bp %{SOURCE2} %{pkg_name}.cabal
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 0.5.1.1-7
|
||||
- update to 0.5.1.1
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
|
|
2
sources
2
sources
|
@ -1,2 +1,2 @@
|
|||
SHA512 (generics-sop-0.5.1.0.tar.gz) = 454cb30800e4c6b225df6464970746ca51028ffbfe50143559eebf16918dd783ef2e7690c4877b568d1835043ec733ec0ca9a39e0ae88c3136c82d0afb42bda8
|
||||
SHA512 (sop-core-0.5.0.1.tar.gz) = 2866e7c1a29a5585dabdbd6399e5df4003f21dd94d7b9a1b93681c53e1106af528cfd24dab0b918b36d73d0b05db6525201ea3213ab90575c242557ac41d80bd
|
||||
SHA512 (generics-sop-0.5.1.1.tar.gz) = 8514a4aef263c2c38928a716c1755db7f2f52243d742b944bb718bf3458ae0969b451836e889075a2c4ea5893720dbb146212d1960a9573851d3ad6c66fb0d8d
|
||||
|
|
Loading…
Reference in New Issue