buckle: migrate to new apple sdk structure

This commit is contained in:
Sarah Clark
2024-11-06 20:05:21 -08:00
parent b1840e418c
commit 988bb62ec6
+3 -10
View File
@@ -1,9 +1,7 @@
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
darwin,
}:
rustPlatform.buildRustPackage rec {
@@ -18,18 +16,13 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-eWhcDzw+6I5N0dse5avwhcQ/y6YZ6b3QKyBwWBrA/xo=";
};
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
checkFlags = [
# Both tests access the network.
"--skip=test_buck2_latest"
"--skip=test_buck2_specific_version"
];
meta = with lib; {
meta = {
description = "Buck2 launcher";
longDescription = ''
Buckle is a launcher for [Buck2](https://buck2.build). It manages
@@ -39,8 +32,8 @@ rustPlatform.buildRustPackage rec {
enforcing the prelude is upgraded in sync.
'';
homepage = "https://github.com/benbrittain/buckle";
license = licenses.mit;
maintainers = with maintainers; [ cbarrete ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ cbarrete ];
mainProgram = "buckle";
};
}