diff --git a/pkgs/development/tools/just/default.nix b/pkgs/development/tools/just/default.nix index ec21765e3a3e..711f360b48a5 100644 --- a/pkgs/development/tools/just/default.nix +++ b/pkgs/development/tools/just/default.nix @@ -7,21 +7,22 @@ , installShellFiles , libiconv , mdbook +, nix-update-script }: rustPlatform.buildRustPackage rec { pname = "just"; - version = "1.13.0"; + version = "1.14.0"; outputs = [ "out" "man" "doc" ]; src = fetchFromGitHub { owner = "casey"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-5JI3QaUuWvwI3pClZXMPU8v1lcPZ5YioMPGKl/lIjQ0="; + hash = "sha256-gItTmei+nxa56CoVv9xBmsOUH5AP48XNxdlHmXRqo2Y="; }; - cargoHash = "sha256-91C/5m2avsW7GKQDg/Ez9fzzFhe8ih1De1RbV/MBJbM="; + cargoHash = "sha256-iZh9M3QgTH0brh6DkKeQyJiCDmYFUggMiZWTkAGjggE="; nativeBuildInputs = [ installShellFiles mdbook ]; buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; @@ -57,6 +58,7 @@ rustPlatform.buildRustPackage rec { "--skip=edit" # trying to run "vim" fails as there's no /usr/bin/env or which in the sandbox to find vim and the dependency is not easily patched "--skip=run_shebang" # test case very rarely fails with "Text file busy" "--skip=invoke_error_function" # wants JUST_CHOOSER to be fzf + "--skip=choose::default" # symlinks cat->fzf which fails as coreutils doesn't understand name ]; postInstall = '' @@ -70,6 +72,8 @@ rustPlatform.buildRustPackage rec { --zsh completions/just.zsh ''; + passthru.updateScript = nix-update-script { }; + meta = with lib; { homepage = "https://github.com/casey/just"; changelog = "https://github.com/casey/just/blob/${version}/CHANGELOG.md";