88 versionCheckHook ,
99 nix-update-script ,
1010} :
11-
1211rustPlatform . buildRustPackage rec {
1312 pname = "topiary" ;
14- version = "0.6.0 " ;
13+ version = "0.6.1 " ;
1514
1615 src = fetchFromGitHub {
1716 owner = "tweag" ;
1817 repo = "topiary" ;
1918 tag = "v${ version } " ;
20- hash = "sha256-nRVxjdEtYvgF8Vpw0w64hUd1scZh7f+NjFtbTg8L5Qc =" ;
19+ hash = "sha256-CyqZhkzAOqC3xWhwUzCpkDO0UFsO0S4/3sV7zIILiVg =" ;
2120 } ;
2221
2322 nativeBuildInputs = [ installShellFiles ] ;
2423 nativeInstallCheckInputs = [ versionCheckHook ] ;
2524
26- cargoHash = "sha256-EqalIF1wx3F/5CiD21IaYsPdks6Mv1VfwL8OTRWsWaU =" ;
25+ cargoHash = "sha256-akAjn9a7dMwjPSNveDY2KJ62evjHCAWpRR3A7Ghkb5A =" ;
2726
2827 # https://github.com/NixOS/nixpkgs/pull/359145#issuecomment-2542418786
2928 depsExtraArgs . postBuild = ''
@@ -42,6 +41,31 @@ rustPlatform.buildRustPackage rec {
4241
4342 # Skip tests that cannot be executed in sandbox (operation not permitted)
4443 checkFlags = [
44+ "--skip=formatted_query_tester"
45+ "--skip=test_coverage::coverage_input_bash"
46+ "--skip=test_coverage::coverage_input_css"
47+ "--skip=test_coverage::coverage_input_json"
48+ "--skip=test_coverage::coverage_input_nickel"
49+ "--skip=test_coverage::coverage_input_ocaml"
50+ "--skip=test_coverage::coverage_input_ocamllex"
51+ "--skip=test_coverage::coverage_input_openscad"
52+ "--skip=test_coverage::coverage_input_sdml"
53+ "--skip=test_coverage::coverage_input_toml"
54+ "--skip=test_coverage::coverage_input_tree_sitter_query"
55+ "--skip=test_coverage::coverage_input_wit"
56+ "--skip=test_fmt::fmt_input_bash"
57+ "--skip=test_fmt::fmt_input_css"
58+ "--skip=test_fmt::fmt_input_json"
59+ "--skip=test_fmt::fmt_input_nickel"
60+ "--skip=test_fmt::fmt_input_ocaml"
61+ "--skip=test_fmt::fmt_input_ocaml_interface"
62+ "--skip=test_fmt::fmt_input_ocamllex"
63+ "--skip=test_fmt::fmt_input_openscad"
64+ "--skip=test_fmt::fmt_input_sdml"
65+ "--skip=test_fmt::fmt_input_toml"
66+ "--skip=test_fmt::fmt_input_tree_sitter_query"
67+ "--skip=test_fmt::fmt_input_wit"
68+ "--skip=test_fmt::fmt_queries"
4569 "--skip=test_fmt_dir"
4670 "--skip=test_fmt_files"
4771 "--skip=test_fmt_files_query_fallback"
@@ -50,9 +74,7 @@ rustPlatform.buildRustPackage rec {
5074 "--skip=test_fmt_stdin_query"
5175 "--skip=test_fmt_stdin_query_fallback"
5276 "--skip=test_vis"
53- "--skip=formatted_query_tester"
54- "--skip=input_output_tester"
55- "--skip=coverage_tester"
77+ "--skip=test_vis_invalid"
5678 ] ;
5779
5880 env . TOPIARY_LANGUAGE_DIR = "${ placeholder "out" } /share/queries" ;
0 commit comments