1
0

Accepting request 890694 from devel:languages:haskell

automated update of haskell stack

OBS-URL: https://build.opensuse.org/request/show/890694
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-MonadRandom?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2021-05-05 18:40:27 +00:00 committed by Git OBS Bridge
commit 144193ee8c
3 changed files with 50 additions and 0 deletions

42
MonadRandom.cabal Normal file
View File

@ -0,0 +1,42 @@
name: MonadRandom
version: 0.5.3
x-revision: 1
synopsis: Random-number generation monad.
description: Support for computations which consume random values.
license: BSD3
license-file: LICENSE
author: Cale Gibbard and others
maintainer: Brent Yorgey <byorgey@gmail.com>
bug-reports: https://github.com/byorgey/MonadRandom/issues
category: Control
build-type: Simple
cabal-version: >=1.10
extra-source-files: CHANGES.markdown
tested-with: GHC ==7.6.3 || ==7.8.4 || ==7.10.3 || ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.3 || ==8.10.1
source-repository head
type: git
location: git://github.com/byorgey/MonadRandom.git
library
exposed-modules:
Control.Monad.Random,
Control.Monad.Random.Class,
Control.Monad.Random.Lazy,
Control.Monad.Random.Strict,
Control.Monad.Trans.Random,
Control.Monad.Trans.Random.Lazy,
Control.Monad.Trans.Random.Strict
build-depends:
base >=4.6 && <5,
transformers >=0.3 && <0.6,
transformers-compat >=0.4 && <0.7,
mtl >=2.1 && <2.3,
primitive >=0.6 && <0.8,
random >=1.0 && <1.3
ghc-options: -Wall
default-language: Haskell2010
other-extensions: Safe
if impl(ghc < 8.0)
build-depends: fail >= 4.9

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 29 09:23:50 UTC 2021 - psimons@suse.com
- Update MonadRandom to version 0.5.3 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Apr 8 20:14:44 UTC 2021 - psimons@suse.com

View File

@ -24,6 +24,7 @@ Summary: Random-number generation monad
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-primitive-devel
@ -48,6 +49,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