Skip to content

Commit

Permalink
livebook: 0.14.4 -> 0.14.5, fix update script, tweak (NixOS#370340)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage authored Jan 2, 2025
2 parents 10bdb8b + 595b69c commit 02ac51c
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions pkgs/by-name/li/livebook/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
erlang,
fetchFromGitHub,
nixosTests,
nix-update-script,
}:
beamPackages.mixRelease rec {
pname = "livebook";
version = "0.14.4";
version = "0.14.5";

inherit elixir;

Expand All @@ -21,14 +22,14 @@ beamPackages.mixRelease rec {
src = fetchFromGitHub {
owner = "livebook-dev";
repo = "livebook";
rev = "v${version}";
hash = "sha256-XpBJlPLr7E3OqTnLxnSmKCgDyiU1hT8WfOhWeRGYROA=";
tag = "v${version}";
hash = "sha256-VSxW+X5zt6npV4tVVgTEvQhjA+jTramSX5h92BWWaQM=";
};

mixFodDeps = beamPackages.fetchMixDeps {
pname = "mix-deps-${pname}";
inherit src version;
hash = "sha256-jB6IOBX3LwdrEtaWY3gglo1HO2OhdiK8j3BgzfZ1nAU=";
hash = "sha256-FrkM82LO7GIFpKQfhlEUrAuKu33BzPBs6OrWW4C6pI0=";
};

postInstall = ''
Expand All @@ -42,18 +43,21 @@ beamPackages.mixRelease rec {
--set MIX_REBAR3 ${rebar3}/bin/rebar3
'';

passthru.tests = {
livebook-service = nixosTests.livebook-service;
passthru = {
updateScript = nix-update-script { };
tests = {
livebook-service = nixosTests.livebook-service;
};
};

meta = with lib; {
license = licenses.asl20;
meta = {
license = lib.licenses.asl20;
homepage = "https://livebook.dev/";
description = "Automate code & data workflows with interactive Elixir notebooks";
maintainers = with maintainers; [
maintainers = with lib.maintainers; [
munksgaard
scvalex
];
platforms = platforms.unix;
platforms = lib.platforms.unix;
};
}

0 comments on commit 02ac51c

Please sign in to comment.