swim: 0.17.0 -> 0.18.0
Diff: https://gitlab.com/spade-lang/swim/-/compare/v0.17.0...v0.18.0 Changelog: https://gitlab.com/spade-lang/swim/-/blob/v0.18.0/CHANGELOG.md
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user