haskell-MonadRandom: add version 0.2

We cannot use it anywhere except HEAD, unfortunately, because the
package depends on transformers 0.4.x, which is a core package and
cannot be updated.
This commit is contained in:
Peter Simons 2014-08-24 13:08:46 +02:00
parent cbc67e1704
commit d72b7796d1
4 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,15 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, mtl, random, transformers }:
cabal.mkDerivation (self: {
pname = "MonadRandom";
version = "0.2";
sha256 = "0wxn1n47mx7npxzc6iv2hj3ikj3d0s11xsndz2gfm9y5pwm3h44c";
buildDepends = [ mtl random transformers ];
meta = {
description = "Random-number generation monad";
license = "unknown";
platforms = self.ghc.meta.platforms;
};
})

View File

@ -23,6 +23,7 @@
ghc783Prefs = self : super : ghcHEADPrefs self super // {
cabalInstall_1_20_0_3 = super.cabalInstall_1_20_0_3.override { Cabal = self.Cabal_1_20_0_2; };
codex = super.codex.override { hackageDb = super.hackageDb.override { Cabal = self.Cabal_1_20_0_2; }; };
MonadRandom = self.MonadRandom_0_1_13; # requires transformers >= 0.4.x
mtl = self.mtl_2_1_2;
};

View File

@ -1623,7 +1623,9 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
MonadPrompt = callPackage ../development/libraries/haskell/MonadPrompt {};
MonadRandom = callPackage ../development/libraries/haskell/MonadRandom {};
MonadRandom_0_1_13 = callPackage ../development/libraries/haskell/MonadRandom/0.1.13.nix {};
MonadRandom_0_2 = callPackage ../development/libraries/haskell/MonadRandom/0.2.nix {};
MonadRandom = self.MonadRandom_0_2;
monadStm = callPackage ../development/libraries/haskell/monad-stm {};