SHA256
1
0
forked from pool/ghc-mmorph

Accepting request 870872 from devel:languages:haskell

update haskell stack in factory

OBS-URL: https://build.opensuse.org/request/show/870872
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-mmorph?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2021-02-16 21:38:45 +00:00 committed by Git OBS Bridge
commit c2897b9230
5 changed files with 54 additions and 5 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Feb 3 20:26:59 UTC 2021 - psimons@suse.com
- Update mmorph to version 1.1.4 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Tue Feb 2 09:34:21 UTC 2021 - psimons@suse.com
- Update mmorph to version 1.1.4.
1.1.4
* Fix `MonadFail`-related code to work for GHCJS
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-mmorph
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,12 +18,13 @@
%global pkg_name mmorph
Name: ghc-%{pkg_name}
Version: 1.1.3
Version: 1.1.4
Release: 0
Summary: Monad morphisms
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-mtl-devel
BuildRequires: ghc-rpm-macros
@ -47,6 +48,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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7923f7ad6260a05aaa8175b9f2a250f5bb63187427681171bd36d29a6cf2da65
size 6975

3
mmorph-1.1.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df2a4c0be2a9ac9b77f2622fc5726a62fe2e579c42cee0bc6e72a2d201f4bec3
size 6603

33
mmorph.cabal Normal file
View File

@ -0,0 +1,33 @@
Name: mmorph
Version: 1.1.4
x-revision: 1
Cabal-Version: >= 1.10
Build-Type: Simple
License: BSD3
License-File: LICENSE
Copyright: 2013 Gabriel Gonzalez
Author: Gabriel Gonzalez
Maintainer: Gabriel439@gmail.com
Bug-Reports: https://github.com/Gabriel439/Haskell-MMorph-Library/issues
Synopsis: Monad morphisms
Description: This library provides monad morphism utilities, most commonly used
for manipulating monad transformer stacks.
Category: Control
Extra-Source-Files: CHANGELOG.md
Source-Repository head
Type: git
Location: https://github.com/Gabriel439/Haskell-MMorph-Library
Library
Hs-Source-Dirs: src
Build-Depends:
base >= 4.13 && < 5 ,
mtl >= 2.1 && < 2.3,
transformers >= 0.2.0.0 && < 0.6,
transformers-compat >= 0.3 && < 0.7
if impl(ghc < 8.0)
Build-Depends:
fail == 4.9.*
Exposed-Modules: Control.Monad.Morph, Control.Monad.Trans.Compose
GHC-Options: -O2
Default-Language: Haskell2010