Skip to content

Commit

Permalink
corrosion: unstable-2022-01-03 -> 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda committed May 16, 2022
1 parent 90a0ce1 commit b0f5e8c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions pkgs/development/tools/build-managers/corrosion/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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;
Expand All @@ -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 ];
};
Expand Down

0 comments on commit b0f5e8c

Please sign in to comment.