mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #2311 from bennofs/haskell-cabal-bounds
haskell-cabal-bounds: New expression
This commit is contained in:
commit
979520396e
23
pkgs/development/tools/haskell/cabal-bounds/default.nix
Normal file
23
pkgs/development/tools/haskell/cabal-bounds/default.nix
Normal 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;
|
||||
};
|
||||
})
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user