1 { lib, stdenv, fetchFromGitHub, writeText, erlang }:
4 shell = drv: stdenv.mkDerivation {
5 name = "interactive-shell-${drv.name}";
9 pkg = self: stdenv.mkDerivation {
11 version = "0.pre+unstable=2015-02-08";
13 src = fetchFromGitHub {
16 rev = "7ceaf1f67d834e841ca0133b4bf899a9fa2db6bb";
17 sha256 = "1pq6pmlr6xb4hv2fvmlrvzd8c70kdcidlgjv4p8n9pwvkif0cb87";
20 setupHook = writeText "setupHook.sh" ''
21 addToSearchPath ERL_LIBS "$1/lib/erlang/lib/"
24 buildInputs = [ erlang ];
26 installFlags = [ "PREFIX=$(out)/lib/erlang/lib" ];
29 description = "WebDriver implementation in Erlang";
30 license = lib.licenses.mit;
31 homepage = "https://github.com/Quviq/webdrv";
32 maintainers = with lib.maintainers; [ ericbmerritt ];