nixpkgs/pkgs/tools/misc/license-generator/default.nix
2023-02-11 16:59:44 +01:00

21 lines
551 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 ];
};
}