sigi: 3.0.3 -> 3.2.1

This commit is contained in:
hiljusti 2022-03-30 02:19:32 -07:00
parent 5af2704214
commit 719761bb77

View file

@ -2,26 +2,23 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "sigi"; pname = "sigi";
version = "3.0.3"; version = "3.2.1";
src = fetchCrate { src = fetchCrate {
inherit pname version; inherit pname version;
sha256 = "sha256-tjhNE20GE1L8kvhdI5Mc90I75q8szOIV40vq2CBt98U="; sha256 = "sha256-1eZ6i0CvjNyYlWb7c0OPlGtvVSFpi8hiOl/7qeeE9wA=";
}; };
cargoSha256 = "sha256-Tyrcu/BYt9k4igiEIiZ2I7VIGiBZ3D2i6XfT/XGlU+U=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
# As part of its tests, sigi hard-codes a location to BATS based on git # In case anything goes wrong.
# submodules. The tests are recommeded to skip for Linux packaging. They'll checkFlags = [ "RUST_BACKTRACE=1" ];
# move to Rust after this issue: https://github.com/hiljusti/sigi/issues/19
checkFlags = [ "SKIP_BATS_TESTS=1" ];
postInstall = '' postInstall = ''
installManPage sigi.1 installManPage sigi.1
''; '';
cargoSha256 = "sha256-0e0r6hfXGJmrc6tgCqq2dQXu2MhkThViZwdG3r3g028=";
passthru.tests.version = testVersion { package = sigi; }; passthru.tests.version = testVersion { package = sigi; };
meta = with lib; { meta = with lib; {