depot/third_party/nixpkgs/pkgs/development/tools/gen-license/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

27 lines
631 B
Nix

{ lib
, stdenv
, rustPlatform
, fetchCrate
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "gen-license";
version = "0.1.2";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-YZcycLQ436cjr2YTT7TEyMdeLTOl9oEfa5x3lgnnYyo=";
};
cargoHash = "sha256-2PT20eoXxBPhGsmHlEEGE2ZDyhyrD7tFdwnn3khjKNo=";
buildInputs = lib.optional stdenv.isDarwin Security;
meta = with lib; {
description = "Create licenses for your projects right from your terminal";
homepage = "https://github.com/nexxeln/license-generator";
license = licenses.mit;
maintainers = [ maintainers.ryanccn ];
};
}