Skip to content

Commit

Permalink
Merge pull request #298312 from matthiasbeyer/backport-cargo-tools-up…
Browse files Browse the repository at this point in the history
…dates-with-newer-rustc

[Backport release-23.11]: cargo-* tools updates with newer rustPlatform
  • Loading branch information
matthiasbeyer authored Apr 22, 2024
2 parents 202bdec + 7daf65a commit 8f409d8
Show file tree
Hide file tree
Showing 15 changed files with 1,009 additions and 852 deletions.
6 changes: 3 additions & 3 deletions pkgs/development/tools/rust/cargo-binstall/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@

rustPlatform.buildRustPackage rec {
pname = "cargo-binstall";
version = "1.4.6";
version = "1.6.4";

src = fetchFromGitHub {
owner = "cargo-bins";
repo = "cargo-binstall";
rev = "v${version}";
hash = "sha256-zCivxYHhaVqzPe3qBUKXgMgEE6niGqkHJM77rfEUoFo=";
hash = "sha256-xG2eLKqGv+wqpSGBUMoYGSQ22lrMHDpQzrSyxyHMHoc=";
};

cargoHash = "sha256-O8X+oLKhKeQGeUrsRVeakZjaMKPiXdIns48rV8Q9JA8=";
cargoHash = "sha256-xNTSvJZWX19kmaFoLLHNKIrcsTFYWwN+7Ubym0hCwTA=";

nativeBuildInputs = [
pkg-config
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/tools/rust/cargo-chef/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

rustPlatform.buildRustPackage rec {
pname = "cargo-chef";
version = "0.1.62";
version = "0.1.66";

src = fetchCrate {
inherit pname version;
sha256 = "sha256-ZewsR6MgBf8wdqBIrYAuprmqthhbEA/WDShp9H3jfDs=";
sha256 = "sha256-I4lD3+WFaW0kPmw5lPybDCRkG/at6VQH6l7pmngwoLU=";
};

cargoHash = "sha256-UHUNoI9QqHzgYIuKlj0giWfFgS+F3eUC/wuAXgwH2xQ=";
cargoHash = "sha256-tSr4m10zS+/JynGmNY0+aoiYDATYwuyfr1VGKmIkHg4=";

meta = with lib; {
description = "A cargo-subcommand to speed up Rust Docker builds using Docker layer caching";
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/tools/rust/cargo-component/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@

rustPlatform.buildRustPackage rec {
pname = "cargo-component";
version = "0.8.0";
version = "0.10.1";

src = fetchFromGitHub {
owner = "bytecodealliance";
repo = "cargo-component";
rev = "v${version}";
hash = "sha256-MYJxwJuiBbZQzCpFoJ/iKv6ShkCYJIMu+QQEURHRBAU=";
hash = "sha256-1mq6tH3jFzyzQ0nsen9r08RrXMn16O7gOz7GS3nr10I=";
};

cargoHash = "sha256-qh6/e4ya0+ZPYIJRYe87F65tWO3ZllZpIw9B5jE+YbU=";
cargoHash = "sha256-BtdMsJqAU9Y1QntUBymlYLJdfx9aP7hf/Za8G8D6w54=";

nativeBuildInputs = [
pkg-config
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/tools/rust/cargo-deny/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@

rustPlatform.buildRustPackage rec {
pname = "cargo-deny";
version = "0.14.11";
version = "0.14.21";

src = fetchFromGitHub {
owner = "EmbarkStudios";
repo = "cargo-deny";
rev = version;
hash = "sha256-xK6Q1p5SlpFGQ1ZtSHGFBwwL2z1LMcdM/jaC5RWglts=";
hash = "sha256-d5qgljNuEfh9kYQU+jP4tgyly6i7hETFC5tEY67Yq8g=";
};

cargoHash = "sha256-6HSdbyBBnvcbJzXBvtuqbauVqLoSuAzo73S+4vioo8I=";
cargoHash = "sha256-u1cayvVatGg03Q3xShC/0ymE8EGHyYFrZD3Q8UD8Mm8=";

nativeBuildInputs = [
pkg-config
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/tools/rust/cargo-dist/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@

rustPlatform.buildRustPackage rec {
pname = "cargo-dist";
version = "0.8.2";
version = "0.13.2";

src = fetchFromGitHub {
owner = "axodotdev";
repo = "cargo-dist";
rev = "v${version}";
hash = "sha256-Y4jXAZgJj0d1fUFuM94umlj/JsawWs3KxEQAucsT24s=";
hash = "sha256-sD3Y/FFfUgMtvBoSP0BBhS5aCZy+TkyO8S28q8Hoc5I=";
};

cargoHash = "sha256-Jza9U5vL45rvDPLb4/iELneKgy1OTCMBM1JxfuxZigQ=";
cargoHash = "sha256-efVhaL1yUEpOgNZ4Bog1OB37lT1yQHJVE9M938jnGeE=";

nativeBuildInputs = [
pkg-config
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/tools/rust/cargo-generate/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@

rustPlatform.buildRustPackage rec {
pname = "cargo-generate";
version = "0.19.0";
version = "0.20.0";

src = fetchFromGitHub {
owner = "cargo-generate";
repo = "cargo-generate";
rev = "v${version}";
sha256 = "sha256-OT2cjNYcEKk6Thnlq7SZvK2RJ6M1Zn62GrqpKbtrUdM=";
sha256 = "sha256-k4bTuTRZMWx8mMi/hdAr4YPCWqe39fG8nkmHH2D80ew=";
};

cargoHash = "sha256-DAJsW3uKrSyIju7K13dMQFNOwE9WDuBuPx8imdPAxqk=";
cargoHash = "sha256-wi1Y1eU+v9Q/4nkLNCUluPlDGfz6ld8nuVWR9orkDV4=";

nativeBuildInputs = [ pkg-config ];

Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/tools/rust/cargo-llvm-lines/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

rustPlatform.buildRustPackage rec {
pname = "cargo-llvm-lines";
version = "0.4.36";
version = "0.4.37";

src = fetchFromGitHub {
owner = "dtolnay";
repo = pname;
rev = version;
hash = "sha256-kj5dsZWf1dp6NG9AIj5GdRoXIb6J3bSXnJNNEVAKnaM=";
hash = "sha256-9l6WkPVcc1BTRjmHa3+2Y1buLdHC5VIvpGys0fDwldY=";
};

cargoHash = "sha256-iZtT1ywFIgPhBnW4losd1J+WHUtzgW47657vGi6mI7I=";
cargoHash = "sha256-MbjV3O9yDC8GHWdhWh4/sO+QfAd3kw3K5wLkZ8OlXIU=";

meta = with lib; {
description = "Count the number of lines of LLVM IR across all instantiations of a generic function";
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/tools/rust/cargo-public-api/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@

rustPlatform.buildRustPackage rec {
pname = "cargo-public-api";
version = "0.33.1";
version = "0.34.0";

src = fetchCrate {
inherit pname version;
hash = "sha256-poS8s4rfktNKQ0co8G4RLXUJAeUAGcS8YIvb4W0IFNo=";
hash = "sha256-xD+0eplrtrTlYYnfl1R6zIO259jP18OAp9p8eg1CqbI=";
};

cargoHash = "sha256-+tmLUxDxI/W2g7cdQD/Ph5wBpW3QbZzH2M/oRXLzsgU=";
cargoHash = "sha256-EjMzOilTnPSC7FYxrNBxX+sugYvPIxiCzlwQcl3VMog=";

nativeBuildInputs = [ pkg-config ];

Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/tools/rust/cargo-semver-checks/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@

rustPlatform.buildRustPackage rec {
pname = "cargo-semver-checks";
version = "0.29.1";
version = "0.30.0";

src = fetchFromGitHub {
owner = "obi1kenobi";
repo = pname;
rev = "v${version}";
hash = "sha256-Eq8NLfgFoO/Upq+eO8kKDMtxgEMQYTG9B6TdCZjGdzc=";
hash = "sha256-5+UE1Ka2pciuNrkrPDCJMp12+IUbgq7k3cKSP5pahw4=";
};

cargoHash = "sha256-AMI997Tz1l7qUmdGPVOtb2KENX27ZfM0P7snzP3aRXU=";
cargoHash = "sha256-GuajrFdPlgneL95eWT3n2MdzfsbuID/pI9ED8TlVOCo=";

nativeBuildInputs = [
cmake
Expand Down
Loading

0 comments on commit 8f409d8

Please sign in to comment.