gen-license: 0.1.2 -> 0.1.4 (#321190)

This commit is contained in:
Aleksana 2024-09-22 19:05:42 +08:00 committed by GitHub
commit 0af73a7a28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 12 deletions

View File

@ -1,22 +1,26 @@
{ lib
, stdenv
, rustPlatform
, fetchCrate
, Security
, fetchFromGitHub
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "gen-license";
version = "0.1.2";
version = "0.1.4";
src = fetchCrate {
inherit pname version;
hash = "sha256-YZcycLQ436cjr2YTT7TEyMdeLTOl9oEfa5x3lgnnYyo=";
src = fetchFromGitHub {
owner = "nexxeln";
repo = "license-generator";
rev = "${version}";
hash = "sha256-VOmt8JXd2+ykhkhupv/I4RfXz9P0eEesW3JGAoXStUI=";
};
cargoHash = "sha256-2PT20eoXxBPhGsmHlEEGE2ZDyhyrD7tFdwnn3khjKNo=";
cargoHash = "sha256-TEsWACxEs4eJ8rO4RnKJWpwT1KcDoBEGftHSJt4YXVw=";
buildInputs = lib.optional stdenv.isDarwin Security;
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
meta = with lib; {
description = "Create licenses for your projects right from your terminal";

View File

@ -1732,10 +1732,6 @@ 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 { };
# This is to workaround gfal2-python broken against Python 3.12 or later.