forked from mirrors/nixpkgs
Merge pull request #244600 from ryanccn/gen-license
gen-license: init at 0.1.2
This commit is contained in:
commit
0e2ae649f2
|
@ -14531,6 +14531,12 @@
|
|||
githubId = 889991;
|
||||
name = "Ryan Artecona";
|
||||
};
|
||||
ryanccn = {
|
||||
email = "hello@ryanccn.dev";
|
||||
github = "ryanccn";
|
||||
githubId = 70191398;
|
||||
name = "Ryan Cao";
|
||||
};
|
||||
ryane = {
|
||||
email = "ryanesc@gmail.com";
|
||||
github = "ryane";
|
||||
|
|
27
pkgs/development/tools/gen-license/default.nix
Normal file
27
pkgs/development/tools/gen-license/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -1694,6 +1694,10 @@ with pkgs;
|
|||
|
||||
gen6dns = callPackage ../tools/networking/gen6dns { };
|
||||
|
||||
gen-license = callPackage ../development/tools/gen-license {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
github-copilot-cli = callPackage ../tools/misc/github-copilot-cli { };
|
||||
|
||||
gfshare = callPackage ../tools/security/gfshare { };
|
||||
|
|
Loading…
Reference in a new issue