summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2014-06-09 03:58:18 -0500
committerJohn Wiegley <johnw@newartisans.com>2014-06-09 03:58:52 -0500
commit1986a10d41c9206b684539125373f2e1d7114a5e (patch)
tree7845be80a05eb28b7043f361780e04837ddaa836 /pkgs/development/tools
parent20da5ecc9cce6bf8852abd493c7fe7c1e2609f1a (diff)
downloadnixlib-1986a10d41c9206b684539125373f2e1d7114a5e.tar
nixlib-1986a10d41c9206b684539125373f2e1d7114a5e.tar.gz
nixlib-1986a10d41c9206b684539125373f2e1d7114a5e.tar.bz2
nixlib-1986a10d41c9206b684539125373f2e1d7114a5e.tar.lz
nixlib-1986a10d41c9206b684539125373f2e1d7114a5e.tar.xz
nixlib-1986a10d41c9206b684539125373f2e1d7114a5e.tar.zst
nixlib-1986a10d41c9206b684539125373f2e1d7114a5e.zip
cabal-db: new expression
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/haskell/cabal-db/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/tools/haskell/cabal-db/default.nix b/pkgs/development/tools/haskell/cabal-db/default.nix
new file mode 100644
index 000000000000..0d8b6ce5993f
--- /dev/null
+++ b/pkgs/development/tools/haskell/cabal-db/default.nix
@@ -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;
+  };
+})