nixpkgs/pkgs/tools/package-management/cargo-about/default.nix

22 lines
642 B
Nix
Raw Normal View History

2020-01-21 15:42:06 +00:00
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "cargo-about";
2020-11-15 01:06:24 +00:00
version = "0.2.3";
2020-01-21 15:42:06 +00:00
src = fetchFromGitHub {
owner = "EmbarkStudios";
repo = "cargo-about";
rev = version;
2020-11-15 01:06:24 +00:00
sha256 = "1jdp5ksxm4rsqhirgl5zwpiahrz2lx046pkvf6xvr6ms70l2xiwj";
2020-01-21 15:42:06 +00:00
};
2020-11-15 01:06:24 +00:00
cargoSha256 = "07bjxsg5kgx8dg3wf6mvi5460db206l68irqc21hz10plz5llmnr";
2020-01-21 15:42:06 +00:00
meta = with lib; {
description = "Cargo plugin to generate list of all licenses for a crate";
homepage = "https://github.com/EmbarkStudios/cargo-about";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ evanjs ];
};
}