forked from pool/ghc-generic-monoid
osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-generic-monoid revision:2, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-generic-monoid?expand=0&rev=3
This commit is contained in:
parent
a92473cce5
commit
81f8a6a88a
20
generic-monoid.cabal
Normal file
20
generic-monoid.cabal
Normal file
@ -0,0 +1,20 @@
|
||||
name: generic-monoid
|
||||
version: 0.1.0.1
|
||||
x-revision: 1
|
||||
synopsis: Derive monoid instances for product types.
|
||||
description: Using GHC's generics, allow for deriving `Monoid` and `Semigroup` instances for your product types.
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
author: Luke Clifton
|
||||
maintainer: lukec@themk.net
|
||||
copyright: 2018 Luke Clifton
|
||||
category: Data
|
||||
build-type: Simple
|
||||
extra-source-files: ChangeLog.md
|
||||
cabal-version: >=1.10
|
||||
|
||||
library
|
||||
exposed-modules: Data.Semigroup.Generic, Data.Monoid.Generic
|
||||
build-depends: base >=4.11 && <4.17
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 19 17:44:55 UTC 2021 - psimons@suse.com
|
||||
|
||||
- Update generic-monoid to version 0.1.0.1 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 26 09:49:07 UTC 2021 - psimons@suse.com
|
||||
|
||||
|
@ -24,6 +24,7 @@ Summary: Derive monoid instances for product types
|
||||
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-rpm-macros
|
||||
ExcludeArch: %{ix86}
|
||||
@ -44,6 +45,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
|
||||
|
Loading…
Reference in New Issue
Block a user