Merge pull request #139262 from figsoda/cargo-supply-chain-update

cargo-supply-chain: 0.0.2 -> 0.2.0

authored by

figsoda and committed by
GitHub
f6a71377 88ad847e

+6 -8
+6 -8
pkgs/development/tools/rust/cargo-supply-chain/default.nix
··· 1 - { lib, rustPlatform, fetchFromGitHub, stdenv, Security }: 1 + { lib, rustPlatform, fetchCrate, stdenv, Security }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "cargo-supply-chain"; 5 - version = "0.0.2"; 5 + version = "0.2.0"; 6 6 7 - src = fetchFromGitHub { 8 - owner = "rust-secure-code"; 9 - repo = pname; 10 - rev = "v${version}"; 11 - sha256 = "0kpm842p7l0vwbfa99zq3w3nsasy5sp1b99si7brjjvq99bad9gr"; 7 + src = fetchCrate { 8 + inherit pname version; 9 + sha256 = "sha256-zjDZJOUjnEQ03rmo5CdSY1emE6YohOPlf7SKuvNLuV0="; 12 10 }; 13 11 14 - cargoSha256 = "sha256-Mn5s6pfTHoFXtHqn6ii8PtAIBz/RJaR0zO5U5jS3UDU="; 12 + cargoSha256 = "sha256-xSJ5rx8k+my0NeGYHZyvDzbM7uMdbViT7Ou9a9JACfs="; 15 13 16 14 buildInputs = lib.optional stdenv.isDarwin Security; 17 15