mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
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:
parent
cbc67e1704
commit
d72b7796d1
15
pkgs/development/libraries/haskell/MonadRandom/0.2.nix
Normal file
15
pkgs/development/libraries/haskell/MonadRandom/0.2.nix
Normal 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;
|
||||
};
|
||||
})
|
@ -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;
|
||||
};
|
||||
|
||||
|
@ -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 {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user