corrosion: unstable-2022-01-03 -> 0.2.1

https://github.com/corrosion-rs/corrosion/blob/v0.2.1/RELEASES.md
This commit is contained in:
Robert Schütz 2022-05-10 05:13:45 +00:00 committed by Robert Schütz
parent 44aeeec357
commit 1b0c93d826

View file

@ -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 ];
};