mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 13:33:12 +00:00
eb11feaa0b
Changes the default fetcher in the Rust Platform to be the newer `fetchCargoTarball`, and changes every application using the current default to instead opt out. This commit does not change any hashes or cause any rebuilds. Once integrated, we will start deleting the opt-outs and recomputing hashes. See #79975 for details.
26 lines
763 B
Nix
26 lines
763 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-about";
|
|
version = "0.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "EmbarkStudios";
|
|
repo = "cargo-about";
|
|
rev = "${version}";
|
|
sha256 = "0bsay1vqi5b3z7qjwbkwx3ikmpjzc0kswbajm50xmcwlg8jrn420";
|
|
};
|
|
|
|
# Delete this on next update; see #79975 for details
|
|
legacyCargoFetcher = true;
|
|
|
|
cargoSha256 = "1mqicibpa9sxac8v2kk8vfvxcis2wkdkklia2pbspc0pz3h0c8if";
|
|
|
|
meta = with lib; {
|
|
description = "Cargo plugin to generate list of all licenses for a crate";
|
|
homepage = "https://github.com/EmbarkStudios/cargo-about";
|
|
license = with licenses; [ mit /* or */ asl20 ];
|
|
maintainers = with maintainers; [ evanjs ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|