depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-license/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

20 lines
578 B
Nix

{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "cargo-license";
version = "0.6.0";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-hBlyRk23gRfKdYuVnrFoDE883S32X9DFvTIsR2zfJck=";
};
cargoHash = "sha256-4P2kR+Jxki62IdUKpMNL7hzBQWci2tKWrQXV5rkMXkw=";
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 ];
};
}