dput-ng: fix eval (#364540)
[NixPkgs.git] / pkgs / by-name / ca / cargo-bundle-licenses / package.nix
blobc9d6943efc551523f8cfb6df060a418f1dd95498
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5 }:
7 rustPlatform.buildRustPackage rec {
8   pname = "cargo-bundle-licenses";
9   version = "1.3.0";
11   src = fetchFromGitHub {
12     owner = "sstadick";
13     repo = "cargo-bundle-licenses";
14     rev = "v${version}";
15     hash = "sha256-pWQU0IMahbFJR7oRUqnz73cB8yRbTpkh5NASmUKg0E0=";
16   };
18   cargoHash = "sha256-eUY3dyyWbqSqFqafdZ2AdI7vsH60vCRNk2cAGJw0ROk=";
20   meta = with lib; {
21     description = "Generate a THIRDPARTY file with all licenses in a cargo project";
22     mainProgram = "cargo-bundle-licenses";
23     homepage = "https://github.com/sstadick/cargo-bundle-licenses";
24     changelog = "https://github.com/sstadick/cargo-bundle-licenses/blob/${src.rev}/CHANGELOG.md";
25     license = with licenses; [
26       mit
27       asl20
28     ];
29     maintainers = with maintainers; [
30       figsoda
31       matthiasbeyer
32     ];
33   };