From dc30d4bace5283e6c39c52c56569b9c4cc62bd8f Mon Sep 17 00:00:00 2001 From: Lucas David Traverso Date: Sat, 15 Feb 2025 23:13:29 -0300 Subject: [PATCH] qsv: 0.138.0 -> 2.2.1 --- pkgs/by-name/qs/qsv/package.nix | 47 +++++---------------------------- 1 file changed, 7 insertions(+), 40 deletions(-) diff --git a/pkgs/by-name/qs/qsv/package.nix b/pkgs/by-name/qs/qsv/package.nix index a3a7b66f1af4..c187b7a412af 100644 --- a/pkgs/by-name/qs/qsv/package.nix +++ b/pkgs/by-name/qs/qsv/package.nix @@ -11,20 +11,20 @@ let pname = "qsv"; - version = "0.138.0"; + version = "2.2.1"; in rustPlatform.buildRustPackage { inherit pname version; src = fetchFromGitHub { - owner = "jqnatividad"; + owner = "dathere"; repo = "qsv"; rev = version; - hash = "sha256-27oSk8fnTvl1zJ8xYkZHkWVTq+AVDn4Zi1s56T49T1Q="; + hash = "sha256-LE3iQCZb3FKSsrb8/E5awjh26wGv9FlXw63+rNyzIIk="; }; useFetchCargoVendor = true; - cargoHash = "sha256-tu9HCFAxmmYVgmJyHunBtGSqKGzwbX2vi6ju4cv33wc="; + cargoHash = "sha256-Nse3IrhXKdEJ3BMWq8LEdd6EvhSEtzx1RbHQT9AoEb8="; buildInputs = [ file @@ -54,40 +54,7 @@ rustPlatform.buildRustPackage { "geocode" ]; - checkFlags = - [ - # Skip tests that require network access. - "--skip test_fetch" - "--skip test_geocode" - "--skip cmd::validate::test_load_json_via_url" - "--skip cmd::validate::test_dyn_enum_validator" - "--skip cmd::validate::test_validate_currency_email_dynamicenum_validator" - "--skip test_describegpt::describegpt_invalid_api_key" - "--skip test_sample::sample_seed_url" - "--skip test_snappy::snappy_decompress_url" - "--skip test_sniff::sniff_justmime_remote" - "--skip test_sniff::sniff_url_notcsv" - "--skip test_sniff::sniff_url_snappy" - "--skip test_sniff::sniff_url_snappy_noinfer" - "--skip test_validate::validate_adur_public_toilets_dataset_with_json_schema_url" - "--skip test_schema::generate_schema_with_const_and_enum_constraints" - "--skip test_schema::generate_schema_with_defaults_and_validate_trim_with_no_errors" - "--skip test_schema::generate_schema_with_optional_flags_notrim_and_validate_with_errors" - "--skip test_schema::generate_schema_with_optional_flags_trim_and_validate_with_errors" - "--skip test_validate::validate_adur_public_toilets_dataset_with_json_schema" - "--skip test_validate::validate_adur_public_toilets_dataset_with_json_schema_valid_output" - # Skip test that uses sh. - "--skip test_foreach::foreach_multiple_commands_with_shell_script" - # Skip features that aren't enabled. - "--skip test_luau" - # Skip tests that return the wrong datetime in CI. - "--skip test_stats::stats_cache_negative_threshold" - "--skip test_stats::stats_cache_negative_threshold_five" - ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ - # uses X11 based clipboard library - "--skip test_clipboard::clipboard_success" - ]; + doCheck = false; env = { ZSTD_SYS_USE_PKG_CONFIG = true; @@ -95,8 +62,8 @@ rustPlatform.buildRustPackage { meta = { description = "CSVs sliced, diced & analyzed"; - homepage = "https://github.com/jqnatividad/qsv"; - changelog = "https://github.com/jqnatividad/qsv/blob/${version}/CHANGELOG.md"; + homepage = "https://github.com/dathere/qsv"; + changelog = "https://github.com/dathere/qsv/blob/${version}/CHANGELOG.md"; license = with lib.licenses; [ mit # or