aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/pkgs/hoogle/default.nix9
-rw-r--r--modules/pkgs/hoogle/main.nix28
2 files changed, 37 insertions, 0 deletions
diff --git a/modules/pkgs/hoogle/default.nix b/modules/pkgs/hoogle/default.nix
new file mode 100644
index 0000000..4ff5095
--- /dev/null
+++ b/modules/pkgs/hoogle/default.nix
@@ -0,0 +1,9 @@
+{ haskell, haskellPackages }:
+
+let myHaskellPkgs = haskellPackages.override {
+ overrides = self: super: {
+ };
+};
+
+in haskell.lib.justStaticExecutables (myHaskellPkgs.callPackage ./main.nix {})
+
diff --git a/modules/pkgs/hoogle/main.nix b/modules/pkgs/hoogle/main.nix
new file mode 100644
index 0000000..9c9a682
--- /dev/null
+++ b/modules/pkgs/hoogle/main.nix
@@ -0,0 +1,28 @@
+{ mkDerivation, aeson, base, binary, bytestring, cmdargs, conduit
+, conduit-extra, connection, containers, deepseq, directory, extra
+, filepath, haskell-src-exts, http-conduit, http-types, js-flot
+, js-jquery, mmap, network, network-uri, old-locale, process
+, process-extras, QuickCheck, resourcet, stdenv, tar
+, template-haskell, text, time, transformers, uniplate, utf8-string
+, vector, wai, wai-logger, warp, warp-tls, zlib
+}:
+mkDerivation {
+ pname = "hoogle";
+ version = "5.0.13";
+ sha256 = "1wxdzkifgm3bnpzr45sf49dyqwnb8bnc5wmqbv5yhxv19gmjk8kn";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson base binary bytestring cmdargs conduit conduit-extra
+ connection containers deepseq directory extra filepath
+ haskell-src-exts http-conduit http-types js-flot js-jquery mmap
+ network network-uri old-locale process process-extras QuickCheck
+ resourcet tar template-haskell text time transformers uniplate
+ utf8-string vector wai wai-logger warp warp-tls zlib
+ ];
+ executableHaskellDepends = [ base ];
+ testTarget = "--test-option=--no-net";
+ homepage = "http://hoogle.haskell.org/";
+ description = "Haskell API Search";
+ license = stdenv.lib.licenses.bsd3;
+}