diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-01-25 03:22:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-25 03:22:54 -0500 |
commit | 8a9807f1941d046f120552b879cf54a94fca4b38 (patch) | |
tree | 922523986fc78ec18b0123a17960c17dda9dcb88 /pkgs/tools | |
parent | f56ca2599d9f7ea9b7cae2a97f6cce41d96b664e (diff) | |
parent | ac6524dc7f3e535604a748f794c1626a4179d4e4 (diff) | |
download | nixpkgs-8a9807f1941d046f120552b879cf54a94fca4b38.tar nixpkgs-8a9807f1941d046f120552b879cf54a94fca4b38.tar.gz nixpkgs-8a9807f1941d046f120552b879cf54a94fca4b38.tar.bz2 nixpkgs-8a9807f1941d046f120552b879cf54a94fca4b38.tar.lz nixpkgs-8a9807f1941d046f120552b879cf54a94fca4b38.tar.xz nixpkgs-8a9807f1941d046f120552b879cf54a94fca4b38.tar.zst nixpkgs-8a9807f1941d046f120552b879cf54a94fca4b38.zip |
Merge pull request #78178 from evanjs/init/cargo-about
cargo-about: init at 0.1.1
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/package-management/cargo-about/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/package-management/cargo-about/default.nix b/pkgs/tools/package-management/cargo-about/default.nix new file mode 100644 index 00000000000..2e1384693ec --- /dev/null +++ b/pkgs/tools/package-management/cargo-about/default.nix @@ -0,0 +1,22 @@ +{ lib, rustPlatform, fetchFromGitHub }: +rustPlatform.buildRustPackage rec { + pname = "cargo-about"; + version = "0.1.1"; + + src = fetchFromGitHub { + owner = "EmbarkStudios"; + repo = "cargo-about"; + rev = "${version}"; + sha256 = "1n9274np1ibz1s35q1qqajnwj7w4l695js9xdbga5wim18ly622m"; + }; + + cargoSha256 = "0zjvvqw68y6zmjzmd22hh246422x2kxljj73vxywkl18crkakd7k"; + + 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; + }; +} |