From 719761bb77ec3dab163c80be55c41baad1e4a246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EF=BD=88=EF=BD=89=EF=BD=8C=EF=BD=8A=EF=BD=95=EF=BD=93?= =?UTF-8?q?=EF=BD=94=EF=BD=89?= Date: Wed, 30 Mar 2022 02:19:32 -0700 Subject: [PATCH] sigi: 3.0.3 -> 3.2.1 --- pkgs/applications/misc/sigi/default.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/misc/sigi/default.nix b/pkgs/applications/misc/sigi/default.nix index 62b8dd576591..2513476ad74e 100644 --- a/pkgs/applications/misc/sigi/default.nix +++ b/pkgs/applications/misc/sigi/default.nix @@ -2,26 +2,23 @@ rustPlatform.buildRustPackage rec { pname = "sigi"; - version = "3.0.3"; + version = "3.2.1"; src = fetchCrate { inherit pname version; - sha256 = "sha256-tjhNE20GE1L8kvhdI5Mc90I75q8szOIV40vq2CBt98U="; + sha256 = "sha256-1eZ6i0CvjNyYlWb7c0OPlGtvVSFpi8hiOl/7qeeE9wA="; }; + cargoSha256 = "sha256-Tyrcu/BYt9k4igiEIiZ2I7VIGiBZ3D2i6XfT/XGlU+U="; nativeBuildInputs = [ installShellFiles ]; - # As part of its tests, sigi hard-codes a location to BATS based on git - # submodules. The tests are recommeded to skip for Linux packaging. They'll - # move to Rust after this issue: https://github.com/hiljusti/sigi/issues/19 - checkFlags = [ "SKIP_BATS_TESTS=1" ]; + # In case anything goes wrong. + checkFlags = [ "RUST_BACKTRACE=1" ]; postInstall = '' installManPage sigi.1 ''; - cargoSha256 = "sha256-0e0r6hfXGJmrc6tgCqq2dQXu2MhkThViZwdG3r3g028="; - passthru.tests.version = testVersion { package = sigi; }; meta = with lib; {