depot/pkgs/development/tools/rust/cargo-license/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

21 lines
611 B
Nix

{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "cargo-license";
version = "0.6.1";
src = fetchCrate {
inherit pname version;
hash = "sha256-qwyWj0vPWQOZYib2ZZutX25a4wwnG1kFAiRCWqGyVms=";
};
cargoHash = "sha256-ifw/n7eejUWUqhieDLojuO3xgosn28NnjAKkq/ZSLEI=";
meta = with lib; {
description = "Cargo subcommand to see license of dependencies";
mainProgram = "cargo-license";
homepage = "https://github.com/onur/cargo-license";
license = with licenses; [ mit ];
maintainers = with maintainers; [ basvandijk figsoda matthiasbeyer ];
};
}