From 702a4dd0e20b80aae468707f4873412be92b657a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 8 Nov 2022 12:11:41 -0800 Subject: [PATCH] corrosion: 0.2.1 -> 0.3.0 https://github.com/corrosion-rs/corrosion/releases/tag/v0.2.2 https://github.com/corrosion-rs/corrosion/releases/tag/v0.3.0 --- pkgs/applications/plasma-mobile/angelfish.nix | 4 ---- .../tools/build-managers/corrosion/default.nix | 13 +++---------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/pkgs/applications/plasma-mobile/angelfish.nix b/pkgs/applications/plasma-mobile/angelfish.nix index e93f3eaff508..5ed6cec01aa9 100644 --- a/pkgs/applications/plasma-mobile/angelfish.nix +++ b/pkgs/applications/plasma-mobile/angelfish.nix @@ -52,10 +52,6 @@ mkDerivation rec { rust.rustc ]); - cmakeFlags = [ - "-DRust_CARGO=${rustPlatform.rust.cargo}/bin/cargo" - ]; - buildInputs = [ kconfig kcoreaddons diff --git a/pkgs/development/tools/build-managers/corrosion/default.nix b/pkgs/development/tools/build-managers/corrosion/default.nix index 51cc427ff199..886db356cfa1 100644 --- a/pkgs/development/tools/build-managers/corrosion/default.nix +++ b/pkgs/development/tools/build-managers/corrosion/default.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation rec { pname = "corrosion"; - version = "0.2.1"; + version = "0.3.0"; src = fetchFromGitHub { owner = "corrosion-rs"; repo = "corrosion"; rev = "v${version}"; - hash = "sha256-nJ4ercNykECDBqecuL8cdCl4DHgbgIUmbiFBG/jiOaA="; + hash = "sha256-HZdKnS0M8q4C42b7J93LZBXJycxYVahy2ywT6rISOzo="; }; cargoRoot = "generator"; @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { inherit src; sourceRoot = "${src.name}/${cargoRoot}"; name = "${pname}-${version}"; - hash = "sha256-4JVbHYlMOKztWPYW7tXQdvdNh/ygfpi0CY6Ly93VxsI="; + hash = "sha256-vrAK5BrMSC8FMLvtP0rxw4sHRU9ySbnrZM50oXMJV1Q="; }; buildInputs = lib.optional stdenv.isDarwin libiconv; @@ -36,13 +36,6 @@ stdenv.mkDerivation rec { rust.rustc ]); - cmakeFlags = [ - "-DRust_CARGO=${rustPlatform.rust.cargo}/bin/cargo" - - # tests cannot find cargo because Rust_CARGO is unset before tests - "-DCORROSION_BUILD_TESTS=OFF" - ]; - meta = with lib; { description = "Tool for integrating Rust into an existing CMake project"; homepage = "https://github.com/corrosion-rs/corrosion";