2020-01-21 15:42:06 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-about";
|
2020-01-28 18:05:27 +00:00
|
|
|
version = "0.2.0";
|
2020-01-21 15:42:06 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "EmbarkStudios";
|
|
|
|
repo = "cargo-about";
|
|
|
|
rev = "${version}";
|
2020-01-28 18:05:27 +00:00
|
|
|
sha256 = "0bsay1vqi5b3z7qjwbkwx3ikmpjzc0kswbajm50xmcwlg8jrn420";
|
2020-01-21 15:42:06 +00:00
|
|
|
};
|
|
|
|
|
2020-02-16 18:51:41 +00:00
|
|
|
cargoSha256 = "1ynalwaqa70ihgras3frp5l3xniz58hwp108wkxn6zj8lwxbxfgx";
|
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 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|