cargo-license: upgrade cargo fetcher and cargoSha256 (#82084)

This commit is contained in:
Benjamin Hipple 2020-03-08 21:06:00 -04:00 committed by GitHub
parent 0623c70586
commit a67fbc1562
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
{ lib, rustPlatform, fetchFromGitHub }: { lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-license"; pname = "cargo-license";
version = "0.3.0"; version = "0.3.0";
@ -12,10 +13,7 @@ rustPlatform.buildRustPackage rec {
cargoPatches = [ ./add-Cargo.lock.patch ]; cargoPatches = [ ./add-Cargo.lock.patch ];
# Delete this on next update; see #79975 for details cargoSha256 = "0bkaj54avvib1kipk8ky7gyxfs00qm80jd415zp53hhvinphzb5v";
legacyCargoFetcher = true;
cargoSha256 = "0ksxvbrx8d8d09i167mdrhz5m46nbr6l0vyn7xpdanmha31xiaz9";
meta = with lib; { meta = with lib; {
description = "Cargo subcommand to see license of dependencies"; description = "Cargo subcommand to see license of dependencies";