11class Dafny < Formula
22 desc "Verification-aware programming language"
33 homepage "https://github.com/dafny-lang/dafny/blob/master/README.md"
4- url "https://github.com/dafny-lang/dafny/archive/refs/tags/v4.9 .0.tar.gz"
5- sha256 "dab75085d50e46b923a79b530a288f62a34d1bac45f6ca64881e094553c247b8 "
4+ url "https://github.com/dafny-lang/dafny/archive/refs/tags/v4.10 .0.tar.gz"
5+ sha256 "bd643ae9cd5b697505ca3682fa4d15238c6746701eaa1eeba4c541006674da40 "
66 license "MIT"
77
88 bottle do
9- sha256 cellar : :any_skip_relocation , arm64_sequoia : "2a36bf3e4ca3d330259682a45b8e2819ff8c77c64268038675cab30ee2757f92"
10- sha256 cellar : :any_skip_relocation , arm64_sonoma : "1d0c2d698efa882dc35316a259c2d1bca1f3814f2b143f01e1088e3a4b10c77b"
11- sha256 cellar : :any_skip_relocation , sonoma : "b780a11bcc50e5c26ee52e3ea912be50caf1d0404afe9fb0f6bd3d55b3b48fe9"
12- sha256 cellar : :any_skip_relocation , x86_64_linux : "f5797f4585a7641abb8e04c9ff93410bb9efed682344b772edd313ff6622a2dd"
9+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "b0379afe58205e4e147a773cfe4e45102e4b6bda9a2a40e862641730e23381b6"
10+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "8e361b9620dab3bc75b0f55c708fac271c5da152a11aade9873838b52af43c9c"
11+ sha256 cellar : :any_skip_relocation , arm64_ventura : "72f8fd00da940888a1a2cb7a5ad9ca0919a1537f2b2901336fd21e760f11cc6f"
12+ sha256 cellar : :any_skip_relocation , ventura : "a717a33ebf39dcfa1bf658103e5e70d07961643d9652c4823f6969beb47735ee"
13+ sha256 cellar : :any_skip_relocation , x86_64_linux : "3e7397f8784ded9a6688b1e1a3e5ee31b2278d44e55462429395f1b374b3b736"
1314 end
1415
15- # Align deprecation with dotnet@6. Can be undeprecated if dependency is updated.
16- # Issue ref: https://github.com/dafny-lang/dafny/issues/4948
17- # PR ref: https://github.com/dafny-lang/dafny/pull/5322
18- deprecate! date : "2024-11-12" , because : "uses deprecated `dotnet@6`"
19-
2016 depends_on "gradle" => :build
2117 depends_on "openjdk" => [ :build , :test ]
2218
23- depends_on "dotnet@6 "
19+ depends_on "dotnet@8 "
2420 depends_on "z3"
2521
2622 def install
@@ -33,7 +29,7 @@ def install
3329
3430 ( bin /"dafny" ) . write <<~EOS
3531 #!/bin/bash
36- exec "#{ Formula [ "dotnet@6 " ] . opt_bin } /dotnet" "#{ libexec } /Dafny.dll" "$@"
32+ exec "#{ Formula [ "dotnet@8 " ] . opt_bin } /dotnet" "#{ libexec } /Dafny.dll" "$@"
3733 EOS
3834 end
3935
0 commit comments