nixpkgs/pkgs/tools/misc/license-generator/default.nix
2023-11-27 02:17:53 +01:00

22 lines
590 B
Nix

{ 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";
};
}