3
0
Fork 0
forked from mirrors/nixpkgs

cabal-db: new expression

This commit is contained in:
John Wiegley 2014-06-09 03:58:18 -05:00
parent 20da5ecc9c
commit 1986a10d41
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{ cabal, ansiWlPprint, Cabal, filepath, mtl, optparseApplicative
, tar, utf8String
}:
cabal.mkDerivation (self: {
pname = "cabal-db";
version = "0.1.9";
sha256 = "19mw5ycc2y5wkn1h7wkdm2gb29pq2sh0n8z52dbxlkf0rwcgjbfq";
isLibrary = false;
isExecutable = true;
buildDepends = [
ansiWlPprint Cabal filepath mtl optparseApplicative tar utf8String
];
meta = {
homepage = "http://github.com/vincenthz/cabal-db";
description = "query tools for the local cabal database (revdeps, graph, info, search-by, license, bounds)";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -2692,6 +2692,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
# Tools.
cabalDb = callPackage ../development/tools/haskell/cabal-db {};
cabal2nix = callPackage ../development/tools/haskell/cabal2nix {};
# Build a cabal package given a local .cabal file