Merge pull request #2311 from bennofs/haskell-cabal-bounds

haskell-cabal-bounds: New expression
This commit is contained in:
Peter Simons 2014-05-01 14:53:10 +02:00
commit 979520396e
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ cabal, Cabal, cmdargs, either, filepath, lens, strict, tasty
, tastyGolden, transformers, unorderedContainers
}:
cabal.mkDerivation (self: {
pname = "cabal-bounds";
version = "0.4.1";
sha256 = "09l9ii26li178sw0rm49w4dhfkf46g4sjjdy4frmc74isvnzkpwj";
isLibrary = true;
isExecutable = true;
buildDepends = [
Cabal cmdargs either lens strict transformers unorderedContainers
];
testDepends = [ filepath tasty tastyGolden ];
doCheck = false;
jailbreak = true;
meta = {
description = "A command line program for managing the bounds/versions of the dependencies in a cabal file";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -3064,6 +3064,12 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
cabalDelete = callPackage ../development/tools/haskell/cabal-delete {};
cabalBounds = callPackage ../development/tools/haskell/cabal-bounds {
Cabal = if pkgs.stdenv.lib.versionAtLeast "7.8" ghc.version
then null
else self.Cabal_1_18_1_3;
};
cabalDev = callPackage ../development/tools/haskell/cabal-dev {};
cabalMeta = callPackage ../development/tools/haskell/cabal-meta {};