-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.nix
45 lines (40 loc) · 1.56 KB
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{ mkDerivation, base, bibtex, bytestring, containers, directory
, exceptions, extra, HTTP, http-client, http-client-tls, http-types
, lens, lib, megaparsec, modern-uri, mtl, parallel, parsec
, replace-megaparsec, stm, text, time, transformers
, witherable, jsaddle, which, pkgs, raw-strings-qq, MissingH, nodejs
, cabal-install, these, aeson, exception-transformers, temporary
}:
let
# TODO(galen): figure out if these even matter or just nodejs or something
# nodePieces = (import ./node.nix {});
# nodeShell = nodePieces.shell;
# nodeDeps = nodePieces.nodeDependencies;
# nodeWithJSDom = nodePieces.package;
# node = buildNodeJs {
# enableNpm = false;
# version = "14.19.3";
# sha256 = "15691j5zhiikyamiwwd7f282g6d9acfhq91nrwx54xya38gmpx2w";
# };
in
mkDerivation {
pname = "lazy-js";
version = "0.1.0.4";
src = ./.;
libraryHaskellDepends = [
base bibtex bytestring containers directory exceptions extra HTTP
http-client http-client-tls http-types lens megaparsec modern-uri
mtl parallel parsec replace-megaparsec stm text time transformers
witherable jsaddle which
raw-strings-qq MissingH these aeson
exception-transformers temporary
# nodejs
# nodeDeps
# Note that staticWhich
];
librarySystemDepends = [ nodejs ]; # nodejs nodeDeps nodeWithJSDom ]; # nodeDeps
testHaskellDepends = [ base ];
homepage = "https://github.com/Ace-Interview-Prep/scrappy";
description = "html pattern matching library and high-level interface concurrent requests lib for webscraping";
license = lib.licenses.bsd3;
}