From 128d2c2a0b74621e697bbf1ad572210b43aebb13 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Sun, 16 Jul 2023 21:03:47 -0500 Subject: [PATCH] jujutsu: 0.7.0 -> 0.8.0 Now with an update script. Signed-off-by: Austin Seipp --- .../version-management/jujutsu/default.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/version-management/jujutsu/default.nix b/pkgs/applications/version-management/jujutsu/default.nix index 36c67568020c..eea11c062fad 100644 --- a/pkgs/applications/version-management/jujutsu/default.nix +++ b/pkgs/applications/version-management/jujutsu/default.nix @@ -9,22 +9,23 @@ , Security , SystemConfiguration , libiconv +, nix-update-script , testers , jujutsu }: rustPlatform.buildRustPackage rec { pname = "jujutsu"; - version = "0.7.0"; + version = "0.8.0"; src = fetchFromGitHub { owner = "martinvonz"; repo = "jj"; rev = "v${version}"; - sha256 = "sha256-FczlSBlLhLIamLiY4cGVAoHx0/sxx+tykICzedFbbx8="; + sha256 = "sha256-kbJWkCnb77VRKemA8WejaChaQYCxNiVMbqW5PCrDoE8="; }; - cargoHash = "sha256-PydDgXp47KUSLvAQgfO+09lrzTnBjzGd+zA5f/jZfRc="; + cargoHash = "sha256-qbCOVcKpNGWGonRAwPsr3o3yd+7qUTy3IVmC3Ifn4xE="; # Needed to get openssl-sys to use pkg-config. OPENSSL_NO_VENDOR = 1; @@ -43,10 +44,13 @@ rustPlatform.buildRustPackage rec { libiconv ]; - passthru.tests = { - version = testers.testVersion { - package = jujutsu; - command = "jj --version"; + passthru = { + updateScript = nix-update-script { }; + tests = { + version = testers.testVersion { + package = jujutsu; + command = "jj --version"; + }; }; };