diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2017-11-28 11:25:20 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2017-11-28 12:29:36 +0300 |
commit | 343aed4572b528e08fb684e6047a495bdd71762d (patch) | |
tree | a08eb7f85b034a2255bac58279667ba92ab7efd1 | |
parent | 52fd065bfa405efb65599cb98a3694f2d90c0b75 (diff) | |
download | nixsap-343aed4572b528e08fb684e6047a495bdd71762d.tar.gz |
hoogle: init at 5.0.13
-rw-r--r-- | modules/pkgs/hoogle/default.nix | 9 | ||||
-rw-r--r-- | modules/pkgs/hoogle/main.nix | 28 |
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; +} |