2021-10-07 16:06:02 +01:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
2020-03-09 01:06:00 +00:00
|
|
|
|
2019-06-23 23:20:57 +01:00
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 12:41:23 +01:00
|
|
|
pname = "cargo-license";
|
2021-10-07 16:06:02 +01:00
|
|
|
version = "0.4.2";
|
2019-06-23 23:20:57 +01:00
|
|
|
|
2021-10-07 16:06:02 +01:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "sha256-rAHw5B/rK0N8myTzTyv/IUq3o+toWO5HOSaHQko2lPI=";
|
2019-06-23 23:20:57 +01:00
|
|
|
};
|
|
|
|
|
2021-10-07 16:06:02 +01:00
|
|
|
cargoSha256 = "sha256-DkINY3j0x0fUynMX8+pxNFwKI/YGqEv1M2a55FuKBGY=";
|
2019-06-23 23:20:57 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Cargo subcommand to see license of dependencies";
|
2019-06-25 14:31:55 +01:00
|
|
|
homepage = "https://github.com/onur/cargo-license";
|
2019-06-23 23:20:57 +01:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ basvandijk ];
|
|
|
|
};
|
|
|
|
}
|