Merge pull request #166389 from hiljusti/update/sigi

sigi: 3.0.3 -> 3.2.1
This commit is contained in:
Sandro 2022-04-21 16:59:25 +02:00 committed by GitHub
commit 1ed8857f8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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; {