1 { lib, beamPackages, makeWrapper, rebar3, elixir, erlang, fetchFromGitHub, nixosTests }:
2 beamPackages.mixRelease rec {
8 buildInputs = [ erlang ];
10 nativeBuildInputs = [ makeWrapper ];
12 src = fetchFromGitHub {
13 owner = "livebook-dev";
16 hash = "sha256-luvqH6fjovRhVQrsP00XLSQ/rjHZgUbUWmL2B5XCyKI=";
19 mixFodDeps = beamPackages.fetchMixDeps {
20 pname = "mix-deps-${pname}";
22 hash = "sha256-/U/UmNVtl7H0rdgXpibM/bYvRbio8WzVRTv4tQ7GQcY=";
26 wrapProgram $out/bin/livebook \
27 --prefix PATH : ${lib.makeBinPath [ elixir erlang ]} \
28 --set MIX_REBAR3 ${rebar3}/bin/rebar3
32 livebook-service = nixosTests.livebook-service;
36 license = licenses.asl20;
37 homepage = "https://livebook.dev/";
38 description = "Automate code & data workflows with interactive Elixir notebooks";
39 maintainers = with maintainers; [ munksgaard scvalex ];
40 platforms = platforms.unix;