spade: 0.17.0 -> 0.18.0 (#517100)

This commit is contained in:
Peder Bergebakken Sundt
2026-05-13 19:00:58 +00:00
committed by GitHub
2 changed files with 12 additions and 17 deletions
+3 -3
View File
@@ -16,18 +16,18 @@
rustPlatform.buildRustPackage rec {
pname = "spade";
version = "0.17.0";
version = "0.18.0";
src = fetchFromGitLab {
owner = "spade-lang";
repo = "spade";
rev = "v${version}";
hash = "sha256-jdcwIn/CiibWiYhh4yICa1LWXZCI0r2w3AFDRO0ZbFw=";
hash = "sha256-BSbE0hJvCIaxxqCo+QltZuoS2yst6TgUnHXAE4kZD2A=";
# only needed for vatch, which contains test data
fetchSubmodules = true;
};
cargoHash = "sha256-JnyICAJ+W9ZwQpJnSVkEb5dSvkrcnx6PZ/IgQMEOsag=";
cargoHash = "sha256-+lQiXOof6MnjnVf8CXNYgeyzFMf0myLErbSfnjLVZWU=";
# TODO: somehow respect https://nixos.org/manual/nixpkgs/stable/#var-passthru-updateScript-commit
passthru.updateScript = _experimental-update-script-combinators.sequence [
+9 -14
View File
@@ -10,25 +10,16 @@
rustPlatform.buildRustPackage rec {
pname = "swim";
version = "0.17.0";
version = "0.18.0";
src = fetchFromGitLab {
owner = "spade-lang";
repo = "swim";
rev = "v${version}";
hash = "sha256-5GxOW5Np5CS1hO8Bd/CoKuRHMiQ9Q2Xz61NGyXXNF7Q=";
hash = "sha256-l0iEzctt3WHW7m3wnr5WdthqBlGSh0SxHCQlM6it0Ds=";
};
cargoHash = "sha256-TmPw/vP4/LZrBOv1/vJBv3NIn75NnRQmtS4gdmZRH2w=";
preConfigure = ''
# de-vendor spade git submodule
test "$version" = "${spade.version}" || {
>&2 echo ERROR: version mismatch between spade and swim!
false
}
ln -s ${spade.src} runt/spade
'';
cargoHash = "sha256-k3sWg/oG5+ckxa10Jt/AncbyoB8kaOcG3xKPg1fl/ME=";
nativeBuildInputs = [ pkg-config ];
@@ -36,11 +27,15 @@ rustPlatform.buildRustPackage rec {
openssl
];
nativeCheckInputs = [ git ];
nativeCheckInputs = [
git
spade
];
checkFlags = [
# tries to clone https://gitlab.com/spade-lang/swim-templates
# tries to find git after clearing environ
"--skip=init::tests::git_init_then_swim_init_works"
# tries to clone https://gitlab.com/spade-lang/swim-templates
"--skip=init::tests::init_board_correctly_sets_project_name"
"--skip=init::tests::init_board_creates_required_files"
"--skip=plugin::test::deny_changes_to_plugins::edits_are_denied"