about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/license-generator/default.nix
blob: b880c66f971cd27a41fc98c6365a91cf5078de12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, fetchCrate, rustPlatform }:

rustPlatform.buildRustPackage rec {
    pname = "license-generator";
    version = "0.8.1";

    src = fetchCrate {
      inherit pname version;
      sha256 = "sha256-ZVhsbaJJ9WBcQPx2yikIAQJeBXwC6ZAJkfCRmokNV3I=";
    };

    cargoSha256 = "sha256-Yh9q/aYHXUF2eIFpJ7ccgeyIO5mQMgRDCNr+ZyS166Y=";

    meta = with lib; {
      description = "Command-line tool for generating license files";
      homepage = "https://github.com/azu/license-generator";
      license = licenses.mit;
      maintainers = with maintainers; [ loicreynier ];
    };
}