cabal-db: new expression
This commit is contained in:
parent
20da5ecc9c
commit
1986a10d41
20
pkgs/development/tools/haskell/cabal-db/default.nix
Normal file
20
pkgs/development/tools/haskell/cabal-db/default.nix
Normal 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;
|
||||
};
|
||||
})
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user