-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathold-default.nix
44 lines (41 loc) · 1.49 KB
/
old-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
{ 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
, jsaddle, which, pkgs, raw-strings-qq, MissingH, nodejs
, cabal-install, 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 = "scrappy";
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
jsaddle which
raw-strings-qq MissingH temporary
# nodejs
# nodeDeps
nodejs
#cabal-install
# Note that staticWhich
];
librarySystemDepends = [ nodejs ]; # nodejs nodeDeps nodeWithJSDom ]; # nodeDeps
executableSystemDepends = [ nodejs ];
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;
}