ripunzip: 2.0.0 -> 2.0.1 (#378489)
This commit is contained in:
@@ -13,16 +13,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "ripunzip";
|
||||
version = "2.0.0";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "ripunzip";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-O9R7SmhKQ6VB9TWbLsQmK/0tDWhJ1QWIPwW7VtibqAk=";
|
||||
hash = "sha256-Y4p3CFE8MyEQJ/af0g2/EL4kto/VZABvD5OS0rRuo8g=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-1ZHAbJIWRQh876rshMYeuCz7UMlwdqrScO0eIkGjZao=";
|
||||
cargoHash = "sha256-5KHF5x4papscMFeXbFYQ+Qyso5YtMoIOO+cq8Omrbs8=";
|
||||
|
||||
buildInputs =
|
||||
[ openssl ]
|
||||
@@ -35,6 +35,21 @@ rustPlatform.buildRustPackage rec {
|
||||
);
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
checkFlags = [
|
||||
# Skip tests involving network
|
||||
"--skip=unzip::http_range_reader::tests::test_with_accept_range"
|
||||
"--skip=unzip::http_range_reader::tests::test_without_accept_range"
|
||||
"--skip=unzip::seekable_http_reader::tests::test_big_readahead"
|
||||
"--skip=unzip::seekable_http_reader::tests::test_random_access"
|
||||
"--skip=unzip::seekable_http_reader::tests::test_small_readahead"
|
||||
"--skip=unzip::seekable_http_reader::tests::test_unlimited_readahead"
|
||||
"--skip=unzip::tests::test_extract_biggish_zip_from_ranges_server"
|
||||
"--skip=unzip::tests::test_extract_from_server"
|
||||
"--skip=unzip::tests::test_small_zip_from_no_content_length_server"
|
||||
"--skip=unzip::tests::test_small_zip_from_no_range_server"
|
||||
"--skip=unzip::tests::test_small_zip_from_ranges_server"
|
||||
];
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
passthru.tests = {
|
||||
|
||||
Reference in New Issue
Block a user