mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
22 lines
590 B
Nix
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";
|
|
};
|
|
}
|