Skip to content

Commit 0b11c45

Browse files
dotnet-core-sdk: add version 8.0.21 binaries for 'darwin' and 'windows' platforms (spack#1984)
1 parent 3a68e7b commit 0b11c45

File tree

1 file changed

+29
-0
lines changed
  • repos/spack_repo/builtin/packages/dotnet_core_sdk

1 file changed

+29
-0
lines changed

repos/spack_repo/builtin/packages/dotnet_core_sdk/package.py

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class DotnetCoreSdk(Package):
1515

1616
homepage = "https://www.microsoft.com/net/"
1717

18+
maintainers("grospelliergilles")
1819
license("MIT")
1920

2021
if platform.system() == "Linux" and platform.machine() == "x86_64":
@@ -41,6 +42,34 @@ class DotnetCoreSdk(Package):
4142
url="https://builds.dotnet.microsoft.com/dotnet/Sdk/6.0.428/dotnet-sdk-6.0.428-linux-arm64.tar.gz",
4243
sha256="b5956b0d9ab3063c2886ec74adc953394e81a1aa3f5075c6b41b3e4f1d7a53f9",
4344
)
45+
elif platform.system() == "Darwin" and platform.machine() == "x86_64":
46+
version(
47+
"8.0.21",
48+
url="https://builds.dotnet.microsoft.com/dotnet/Sdk/8.0.121/dotnet-sdk-8.0.121-osx-x64.tar.gz",
49+
sha256="7ac6d6356300947e5c926fb6eb03bcda10d6d886d063de17ed63ae23b70e4756",
50+
preferred=True,
51+
)
52+
elif platform.system() == "Darwin" and platform.machine() == "aarch64":
53+
version(
54+
"8.0.21",
55+
url="https://builds.dotnet.microsoft.com/dotnet/Sdk/8.0.121/dotnet-sdk-8.0.121-osx-arm64.tar.gz",
56+
sha256="2cc5724a8470c3cd6db9f3d3c4970f5cd019a5186546a7acb0edd1703c6b8a09",
57+
preferred=True,
58+
)
59+
elif platform.system() == "Windows" and platform.machine() == "x86_64":
60+
version(
61+
"8.0.21",
62+
url="https://builds.dotnet.microsoft.com/dotnet/Sdk/8.0.121/dotnet-sdk-8.0.121-win-x64.zip",
63+
sha256="f5bbabfaaad0a07e19a641516a0a3d32160d5a05d2431d1bc67a1fcd47a0ca76",
64+
preferred=True,
65+
)
66+
elif platform.system() == "Windows" and platform.machine() == "aarch64":
67+
version(
68+
"8.0.21",
69+
url="https://builds.dotnet.microsoft.com/dotnet/Sdk/8.0.121/dotnet-sdk-8.0.121-win-arm64.zip",
70+
sha256="9ef78ec827d453bdfe774b7ebf2c504b0257e9d5116698accf60b06291ee8b4b",
71+
preferred=True,
72+
)
4473

4574
variant("telemetry", default=False, description="allow collection of telemetry data")
4675

0 commit comments

Comments
 (0)