0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

livebook: 0.14.4 -> 0.14.5, fix update script, tweak (#370340)

This commit is contained in:
Gaétan Lepage 2025-01-02 22:08:41 +01:00 committed by GitHub
commit 02ac51c6fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
@ -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 = ''
@ -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;
};
}