From 1b0c93d826827fb56e8d280e047885a8d87af624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 10 May 2022 05:13:45 +0000 Subject: [PATCH] corrosion: unstable-2022-01-03 -> 0.2.1 https://github.com/corrosion-rs/corrosion/blob/v0.2.1/RELEASES.md --- .../tools/build-managers/corrosion/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/development/tools/build-managers/corrosion/default.nix b/pkgs/development/tools/build-managers/corrosion/default.nix index 5f06449c2464..51cc427ff199 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 = "unstable-2022-01-03"; + version = "0.2.1"; src = fetchFromGitHub { - owner = "AndrewGaspar"; + owner = "corrosion-rs"; repo = "corrosion"; - rev = "ba253b381e99bd87b514db9cee299b849c7625b5"; - hash = "sha256-r1chLXvWbHtUYSRJis8RNvjDdWERSkqeM4ik30vlfHQ="; + rev = "v${version}"; + hash = "sha256-nJ4ercNykECDBqecuL8cdCl4DHgbgIUmbiFBG/jiOaA="; }; cargoRoot = "generator"; @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { inherit src; sourceRoot = "${src.name}/${cargoRoot}"; name = "${pname}-${version}"; - hash = "sha256-xUDmUj73ja8feEh0yyjgkjm7alPaYxucG6sL59mSECg="; + hash = "sha256-4JVbHYlMOKztWPYW7tXQdvdNh/ygfpi0CY6Ly93VxsI="; }; buildInputs = lib.optional stdenv.isDarwin libiconv; @@ -45,7 +45,8 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Tool for integrating Rust into an existing CMake project"; - homepage = "https://github.com/AndrewGaspar/corrosion"; + homepage = "https://github.com/corrosion-rs/corrosion"; + changelog = "https://github.com/corrosion-rs/corrosion/blob/${src.rev}/RELEASES.md"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; };