diff options
Diffstat (limited to 'pkgs/development/tools/rust/cargo-license/default.nix')
-rw-r--r-- | pkgs/development/tools/rust/cargo-license/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/tools/rust/cargo-license/default.nix b/pkgs/development/tools/rust/cargo-license/default.nix new file mode 100644 index 0000000000000..6202e297b9a9e --- /dev/null +++ b/pkgs/development/tools/rust/cargo-license/default.nix @@ -0,0 +1,20 @@ +{ lib, rustPlatform, fetchCrate }: + +rustPlatform.buildRustPackage rec { + pname = "cargo-license"; + version = "0.4.2"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-rAHw5B/rK0N8myTzTyv/IUq3o+toWO5HOSaHQko2lPI="; + }; + + cargoSha256 = "sha256-DkINY3j0x0fUynMX8+pxNFwKI/YGqEv1M2a55FuKBGY="; + + 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 ]; + }; +} |