summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtturi <Artturin@artturin.com>2022-05-05 20:04:06 +0300
committerGitHub <noreply@github.com>2022-05-05 20:04:06 +0300
commite04461d88eb13610acbff224c2590f49cf9f193b (patch)
tree1aa6f33ee029de02e3a6717058ceda1612f72ffe
parenteasycrypt-runtest: init at 2022.04 (diff)
parentsigi: 3.0.3 -> 3.2.1 (diff)
downloadnixpkgs-e04461d88eb13610acbff224c2590f49cf9f193b.tar.gz
Merge pull request #170212 from hiljusti/release-21.11
Backporting #166389 This includes changes from 3.1.0 and 3.1.1. This is fully backwards-compatible. There is one new subcommand (list-stacks) added to the CLI, all other changes are to internals, testing, and documentation. The hiljusti/sigi#19 is complete, so testing now happens with no skips at all. hiljusti/sigi@v3.0.3...v3.1.1
-rw-r--r--pkgs/applications/misc/sigi/default.nix13
1 files changed, 5 insertions, 8 deletions
diff --git a/pkgs/applications/misc/sigi/default.nix b/pkgs/applications/misc/sigi/default.nix
index 674432e7a024..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.2";
+ version = "3.2.1";
src = fetchCrate {
inherit pname version;
- sha256 = "sha256-N+8DdokiYW5mHIQJisdTja8xMVGip37X6c/xBYnQaRU=";
+ 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-vO9ocTDcGt/T/sLCP+tCHXihV1H2liFDjI7OhhmPd3I=";
-
passthru.tests.version = testVersion { package = sigi; };
meta = with lib; {