depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-license/default.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

20 lines
580 B
Nix

{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "cargo-license";
version = "0.5.1";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-M/QGM8jPLrDIoF1TVYDoVcHni1qaRCyZwHlYgia24Ro=";
};
cargoSha256 = "sha256-2m+ornrQQzijyF30uQ6xpEiid6r6I1wTa8nn6Q0wNKo=";
meta = with lib; {
description = "Cargo subcommand to see license of dependencies";
homepage = "https://github.com/onur/cargo-license";
license = with licenses; [ mit ];
maintainers = with maintainers; [ basvandijk figsoda matthiasbeyer ];
};
}