static-web-server: 2.24.2 -> 2.32.1

This commit is contained in:
Franz Pletz
2024-07-23 21:59:58 +02:00
parent f11a6a01cb
commit 4e7ebba346
+7 -3
View File
@@ -2,21 +2,25 @@
rustPlatform.buildRustPackage rec {
pname = "static-web-server";
version = "2.24.2";
version = "2.32.1";
src = fetchFromGitHub {
owner = "static-web-server";
repo = pname;
rev = "v${version}";
hash = "sha256-5Axqn3sYLM4yjGkN8d0ZUe8KrjYszaZmTg5GqmamNtc=";
hash = "sha256-PkDT6FU6JSIeeKCJeeIjjqZfoo+tGzqyPyWuIiwusQY=";
};
cargoHash = "sha256-xS2XARqXXcQ2J1k3jC5St19RdcK2korbEia4koUxG5s=";
cargoHash = "sha256-ymI5O6j6NEcgIbMLEYgyUZBBkwxDWDWaVn4hqJScGxA=";
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
# Lots of tests fail due to unexpected argument '--test-threads' because CLI options of
# test runner is being parsed
doCheck = false;
checkFlags = [
# TODO: investigate why these tests fail
"--skip=tests::handle_byte_ranges_if_range_too_old"