shelly: build version 0.15.4.1 for GHC 7.4.2

This commit is contained in:
John Wiegley 2014-05-31 21:59:55 +00:00
parent 32c3bcaa80
commit 421e8539ec
2 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,21 @@
{ cabal, hspec, HUnit, mtl, systemFileio, systemFilepath, text
, time, unixCompat
}:
cabal.mkDerivation (self: {
pname = "shelly";
version = "0.15.4.1";
sha256 = "12m11s22izz0ny1syb1ykp2hi9n240myf0nhapvn8jx1fgf5iyck";
buildDepends = [
mtl systemFileio systemFilepath text time unixCompat
];
testDepends = [
hspec HUnit mtl systemFileio systemFilepath text time unixCompat
];
meta = {
homepage = "https://github.com/yesodweb/Shelly.hs";
description = "shell-like (systems) programming in Haskell";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -1914,7 +1914,11 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
setlocale = callPackage ../development/libraries/haskell/setlocale {};
shelly = callPackage ../development/libraries/haskell/shelly {};
shelly_0_15_4_1 = callPackage ../development/libraries/haskell/shelly/0.15.4.1.nix {};
shelly_1_5_3_1 = callPackage ../development/libraries/haskell/shelly {};
shelly = if (pkgs.stdenv.lib.versionOlder ghc.version "7.6")
then self.shelly_0_15_4_1
else self.shelly_1_5_3_1;
simpleReflect = callPackage ../development/libraries/haskell/simple-reflect {};