depot/third_party/nixpkgs/pkgs/tools/misc/license-generator/default.nix

22 lines
590 B
Nix
Raw Normal View History

{ lib, fetchCrate, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "license-generator";
version = "1.0.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-ijA/AqLeQ9/XLeCriWNUA6R3iKyq+QPDH5twSvqFmEA=";
};
cargoHash = "sha256-FfkCV4anPHElGGIOYDSzHam5ohVGpOgtu/nM0aw9HzU=";
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 ];
mainProgram = "license-generator";
};
}